-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Labels
release blockerBlocks the upcoming release (fix needed)Blocks the upcoming release (fix needed)
Description
Impact: This will cause migrated libraries to no longer be synced to the courses that use them, negating a lot of the value of the migration process.
Steps:
- As a non-global staff user (just a course creator for an org), create a legacy library with two problems in it.
- Create a course and add the legacy library randomized content block.
- Publish the course.
- Migrate the v1 library into an existing v2 library.
- The randomized content block in the course will now tell you that you have to update your references. Do this.
- Make changes to the content of one of the migrated problems in its new location in the v2 library, and publish those changes.
- The content update does not show up in the course under the list of content updates from the library. The v2 library itself does not show up. It's as if the course lost the reference to the v2 library entirely.
The data seems to look right to me on the model forwarding backend, but the modulestore references look wrong to me. Specifically, I see this OLX:
<library_content is_migrated_to_v2="true" source_library_id="library-v1:Axim+OldLibForRefTesting" source_library_version="694962eaa62a3739836366a0">
<problem url_name="d2ce6054010e911c5c16"/>
<problem url_name="214a499ff852bcc64145"/>
</library_content>But the upstream values are missing for the problems, e.g.:
<problem upstream=""><div>Q1 Text here</div>
<numericalresponse answer="10"><responseparam type="tolerance" default="5"/><formulaequationinput/></numericalresponse>
</problem>Metadata
Metadata
Assignees
Labels
release blockerBlocks the upcoming release (fix needed)Blocks the upcoming release (fix needed)
Type
Projects
Status
In progress