Skip to content

fix: access to ILIAS learning module inside a course across LTI#11125

Open
sergiosant02 wants to merge 1 commit intoILIAS-eLearning:release_10from
surlabs:ilias10_lti_fix_access_ILM_inside_course
Open

fix: access to ILIAS learning module inside a course across LTI#11125
sergiosant02 wants to merge 1 commit intoILIAS-eLearning:release_10from
surlabs:ilias10_lti_fix_access_ILM_inside_course

Conversation

@sergiosant02
Copy link
Contributor

When a Learning Module is opened through LTI, the ilLocator stack does not register the module in the navigation path. As a result, ILIAS resolves the request to the LTI context container instead of the target Learning Module, causing a redirect to the course.

This change ensures that the Learning Module reference is properly added to the locator stack during LTI launches, matching the behavior of a direct (non-LTI) access. This restores correct navigation resolution and prevents unintended redirects to the parent container.

When a Learning Module is opened through LTI, the ilLocator stack does not
register the module in the navigation path. As a result, ILIAS resolves the
request to the LTI context container instead of the target Learning Module,
causing a redirect to the course.

This change ensures that the Learning Module reference is properly added to
the locator stack during LTI launches, matching the behavior of a direct
(non-LTI) access. This restores correct navigation resolution and prevents
unintended redirects to the parent container.
@sergiosant02 sergiosant02 added bugfix php Pull requests that update Php code labels Feb 16, 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.

2 participants

Comments