Skip to content

ILIASObject: consistently use long description on object creation so that multilingualism does not get confused (48105)#11810

Open
schmitz-ilias wants to merge 1 commit into
ILIAS-eLearning:release_10from
schmitz-ilias:bt-48105
Open

ILIASObject: consistently use long description on object creation so that multilingualism does not get confused (48105)#11810
schmitz-ilias wants to merge 1 commit into
ILIAS-eLearning:release_10from
schmitz-ilias:bt-48105

Conversation

@schmitz-ilias

@schmitz-ilias schmitz-ilias commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This PR fixes 48105, where on creation of containers only the short description is written to object_translation. The entry in object_translation supersedes the long description persisted in object_description, so only the short description is shown everywhere.

The cause of this is that the initial translations of a container are set in ilContainer::create, from the description as it's currently set in the to-be-created object via ilObject::getLongDescription. The description set in the to-be-created object is however only the short version, see ilObjectGUI::saveObject.

…that multilingualism does not get confused (48105)
@schmitz-ilias schmitz-ilias added bugfix php Pull requests that update Php code labels Jul 22, 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