ItemGroup 31861-4, 48043 & 48101: Fix itgr_data Column Defaults & Drop Legacy itgr_data Display Columns 12 - #12063
Open
matheuszych wants to merge 3 commits into
Open
matheuszych wants to merge 3 commits into
matheuszych wants to merge 3 commits into
Conversation
See: https://mantis.ilias.de/view.php?id=31861 See: https://mantis.ilias.de/view.php?id=48043 See: https://mantis.ilias.de/view.php?id=48101 After the item group display migration, `hide_title` and `behaviour` in `itgr_data` need a default of `MIGRATED_MARKER` (-1). Setup step 4 now sets these column defaults and exposes the marker constant for reuse.
See: https://mantis.ilias.de/view.php?id=31861 See: https://mantis.ilias.de/view.php?id=48043 See: https://mantis.ilias.de/view.php?id=48101 After migrating `hide_title` and `behaviour` to `display` and `toggleable_initially`, drop the leftover columns from `itgr_data` via `ilItemGroupDataTableColumnMigration` instead of a database update step. `ilItemGroupDisplayMigration` now no-ops when the legacy columns are already gone, and the dataset no longer exports them.
matheuszych
force-pushed
the
ig/12/31861-4
branch
from
September 14, 2026 12:40
0a4c4e8 to
076ad6a
Compare
See: https://mantis.ilias.de/view.php?id=31861 See: https://mantis.ilias.de/view.php?id=48043 See: https://mantis.ilias.de/view.php?id=48101 After replacing `hide_title` and `behaviour` with `display` and `toggleable_initially`, export still used the legacy fields. Add dataset version `10.12` and exporter schema `12.0` for the new columns, and map both legacy and current records onto the item group display settings on import.
matheuszych
force-pushed
the
ig/12/31861-4
branch
from
September 14, 2026 13:35
d6ff3d1 to
518571d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See: https://mantis.ilias.de/view.php?id=31861
See: https://mantis.ilias.de/view.php?id=48043
See: https://mantis.ilias.de/view.php?id=48101
After migrating
hide_titleandbehaviourtodisplayandtoggleable_initially, drop the leftover columns fromitgr_datavia
ilItemGroupDataTableColumnMigrationinstead of a databaseupdate step.
ilItemGroupDisplayMigrationnow no-ops when thelegacy columns are already gone, and the dataset no longer exports
them.
/cc @thojou