Skip to content

Test 48404: Fix Manual Scoring Filter Toggle-On - #12399

Open
matheuszych wants to merge 1 commit into
ILIAS-eLearning:release_10from
matheuszych:ta/48404
Open

matheuszych wants to merge 1 commit into
ILIAS-eLearning:release_10from
matheuszych:ta/48404

Conversation

@matheuszych

Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=48404

Toggling the Manual Scoring by question filter back on triggered a Whoops error because required select inputs had no default value. The disabled placeholder option was omitted from the GET request, filter validation failed, and ilUIFilterService iterated over null from getData().

Set default withValue(0) on the "only answered" and "finalized" filter selects so values are always submitted and match the previous no-filter behaviour.

/cc @thojou

See: https://mantis.ilias.de/view.php?id=48404

Toggling the Manual Scoring by question filter back on triggered a
Whoops error because required select inputs had no default value. The
disabled placeholder option was omitted from the GET request, filter
validation failed, and `ilUIFilterService` iterated over null from
`getData()`.

Set default `withValue(0)` on the "only answered" and "finalized"
filter selects so values are always submitted and match the previous
no-filter behaviour.
@dsstrassner dsstrassner added bugfix php Pull requests that update Php code labels Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants