Skip to content

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
ILIAS-eLearning:trunkfrom
matheuszych:ig/12/31861-4
Open

matheuszych wants to merge 3 commits into
ILIAS-eLearning:trunkfrom
matheuszych:ig/12/31861-4

Conversation

@matheuszych

Copy link
Copy Markdown
Contributor

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.

/cc @thojou

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.
@thojou thojou self-assigned this Sep 14, 2026
@thojou thojou added bugfix php Pull requests that update Php code labels Sep 14, 2026
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.
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.
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