You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user wants to add a library component using the library component picker, can only pick the published versions of the components. But when copying a component from the clipboard and pasting it into a course, the draft version is pasted.
Steps to reproduce:
Create a library in the Authoring MFE.
Create a component in your library with a name like "This is a test".
Publish the library.
Edit the component in your library, like "Edited component".
Copy the component to the clipboard.
Go to a course unit and paste the component.
The draft version of the component is pasted. Expected behavior: The published version of the component is pasted.
The text was updated successfully, but these errors were encountered:
ChrisChV
changed the title
Bug: Published version is not copied on course
Bug: Published version of component is not copied on course
Nov 20, 2024
ChrisChV
changed the title
Bug: Published version of component is not copied on course
Bug: Draft version of component is copied on course
Nov 20, 2024
@ChrisChV Thanks for carefully testing and reporting this. However, this is actually expected behavior. When you copy something, you copy exactly what you see, which may be a draft. If you copied something that said "A" and then you pasted it and it suddenly said "B", that would be confusing. (Principle of Least Surprise)
We actually developed and tested this scenario carefully, so that for example when you copy version 5 (draft) and then go back to the library and publish it, nothing will show as changed in the course. But when you publish a new version 6, then the course will show that an update is now available.
If a user wants to add a library component using the library component picker, can only pick the published versions of the components. But when copying a component from the clipboard and pasting it into a course, the draft version is pasted.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: