Skip to content

[LSO][FIX] Learning Sequence import from older ILIAS versions without position attribute#11086

Open
kevenClausenKPG wants to merge 1 commit intoILIAS-eLearning:trunkfrom
kroepelin-projekte:fix-lso-trunk-import-position
Open

[LSO][FIX] Learning Sequence import from older ILIAS versions without position attribute#11086
kevenClausenKPG wants to merge 1 commit intoILIAS-eLearning:trunkfrom
kroepelin-projekte:fix-lso-trunk-import-position

Conversation

@kevenClausenKPG
Copy link
Contributor

XSD Schema Update: Changed the position attribute of the LSItem element from required to optional in ilias_lso_9_0.xsd. This ensures that XML files from older versions pass the schema validation.

• Robust XML Parsing: Updated ilLearningSequenceXMLParser to check for the existence of the position attribute before attempting to store it in the internal data array.
• Safe Importing: Modified ilLearningSequenceImporter to only apply the item order number if the position data is actually available in the imported set. If missing, the default sorting of the system is used.

@kevenClausenKPG kevenClausenKPG added bugfix php Pull requests that update Php code labels Feb 8, 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