-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugReport of or fix for something that isn't working as intendedReport of or fix for something that isn't working as intended
Description
Steps to reproduce:
- Create a library in the Authoring MFE
- Add a collection to the library.
- Add a component to the collection and do not publish.
- Note that the "number of components" shown in the collection is "1".
- View the library, and click "Discard changes" from the sidebar
- The draft component will disappear from the library's and collection's components lists.
- Note that the "number of components" for the collection card still says "1".
Expected behavior:
The only time we'd expect draft documents to be deleted is after calling "Discard changes" on a library with unpublished changes.
- Create a library in the Authoring MFE
- Add a collection to the library
- Add a component to the collection and do not publish.
- View the library, and click "Discard changes" from the sidebar
- The draft component will disappear from the library's and collection's components lists.
- The "number of components" for the collection card should be reduced from 1 to 0.
Metadata
Metadata
Assignees
Labels
bugReport of or fix for something that isn't working as intendedReport of or fix for something that isn't working as intended
Type
Projects
Status
Done
Status
Done