Skip to content

[stable5.2] fix(submission): only accept a list of values as an answer - #4024

Merged
AndyScherzinger merged 2 commits into
stable5.2from
backport/3904/stable5.2
Nov 25, 2026
Merged

AndyScherzinger merged 2 commits into
stable5.2from
backport/3904/stable5.2

Conversation

@AndyScherzinger

@AndyScherzinger AndyScherzinger commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Backport of #3904 to stable5.2.

  • stable5.2 has no grid questions, so isListOfValues() has no grid branch and the commit message no longer mentions them.
  • The helper is added at the end of SubmissionService, as the methods it sits next to on main don't exist on stable5.2.
  • Also bumps codecov/codecov-action from 5.5.1 to 7.0.0, the version stable5.3 runs: the uploader that 5.5.1 downloads is now signed with a key the action doesn't know, so the coverage upload failed the PHPUnit SQLite job.

Tests

  • Unit and DB integration tests on Nextcloud 33: no new failures compared to plain stable5.2; the added SubmissionServiceTest cases pass. composer cs:check is clean and openapi.json is unchanged.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

An answer is a list of values, as the API describes it. Other values
are rejected as an invalid answer with a 400 instead of failing with a
server error, and an empty list counts as no answer, so an optional
question answered with an empty list is not checked any further.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
The uploader that v5.5.1 downloads is now signed with a key the action
does not know, so the signature check fails and the coverage upload
fails the PHPUnit and Node jobs. v7.0.0 is the version stable5.3 runs.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AndyScherzinger
AndyScherzinger merged commit 1affa7b into stable5.2 Nov 25, 2026
67 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/3904/stable5.2 branch November 25, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant