Skip to content

[FIX] LTI: Derive status lists from outcomes#11667

Open
Saaweel wants to merge 1 commit into
ILIAS-eLearning:release_11from
surlabs:ilias11_LTI_status_lists
Open

[FIX] LTI: Derive status lists from outcomes#11667
Saaweel wants to merge 1 commit into
ILIAS-eLearning:release_11from
surlabs:ilias11_LTI_status_lists

Conversation

@Saaweel

@Saaweel Saaweel commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

This follow-up adjusts the LTI outcome learning progress status list methods so they no longer derive their user lists from ut_lp_marks.

_getInProgress(), _getCompleted() and _getFailed() now collect users from the underlying LTI outcome data:

  • lti_consumer_results
  • lti_consumer_grades, if available

The users are then classified through the existing determineStatus() logic.

This keeps parent object / LP collection aggregation working while avoiding a circular dependency during ilLPStatusWrapper::_refreshStatus(), where these methods are used to recalculate and persist ut_lp_marks.

The existing Basic Outcomes status semantics are preserved.

Related

Original PR: #11641
Follow-up to the review comment on commit 3beedccc0067c9fbbb9531c0e21845a099a1dc11.

Mantis: https://mantis.ilias.de/view.php?id=41919

@Saaweel Saaweel requested a review from mjansenDatabay June 11, 2026 09:50
@Saaweel Saaweel self-assigned this Jun 11, 2026
@Saaweel Saaweel added bugfix php Pull requests that update Php code labels Jun 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.

1 participant