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
Item that has been added implicitly to the ChangeSet as ChangeSetItem, cannot be remove if explicitly added parent item was removed and ChangeSet has State = 'published'.
Steps to reproduce
Create page
Add an Image to the Page
Save, but don't publish
Add the Page to Campaign
Go to the Campaign Admin
Open Created Campaign
You should see your Page in PAGES section and Image in FILES section
Click on the Page in PAGES section
Click Remove in "Action Menu"
Page and appended to the page image were removed form PAGES and FILES sections
Repeat previous steps before "Click Remove in "Action Menu""
Instead Click Publish Campaign button
Click on the Page in PAGES section
Click Remove in "Action Menu"
Page was removed form PAGES and Image still exist in FILES sections
Click on the Image in FILES section
Click "Action Menu"
You should see "Required by {number} item(s), and cannot be removed directly."
I'm wondering if the correct behaviour shouldn't be to "freeze" a campaign once it has been published. It sounds kind of nonsensical to be able to remove items from Campaign Admin post publication. If the we decide the correct behaviour here is to block people from removing item from published campaign, than the behat PR will need to be updated.
GuySartorelli
changed the title
Item that has been added implicitly to ChangeSet, cannot be remove.
Item that has been added implicitly to ChangeSet, cannot be removed
Nov 8, 2023
Description
Item that has been added implicitly to the ChangeSet as ChangeSetItem, cannot be remove if explicitly added parent item was removed and ChangeSet has State = 'published'.
Steps to reproduce
Related issue
PRs
The text was updated successfully, but these errors were encountered: