Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[BUGFIX] crash on rollover nested within side-by-side materials [MER-2677] #205

Closed andersweinstein closed 11 months ago

andersweinstein commented 11 months ago

Migration tool crashes in certain cases seen in STEM Readiness course where an extra element, used for rollover content, is used within side-by-side materials. This happens when the extra element carries the content in the meaning sub-element which itself contains a material element. The conversion of side-by-side materials was reaching into the materialelement nested within the extra element when this needs to be left untranslated.

Fix is to limit conversion of material within side-by-side materials to immediate children.