[MGNLPN-228] Unpublish action throws exception in segments and personas apps Created: 13/Aug/15  Updated: 14/Sep/15  Resolved: 14/Sep/15

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 1.2, 1.2.1
Fix Version/s: 1.2.x

Type: Bug Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2015-08-12 at 16.40.10.png     HTML File stacktrace    
Issue Links:
duplicate
duplicates MGNLPN-197 Publication/un-publication of segment... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Unpublish action throws exception

It is possible to reproduce it in segments.
To reproduce:
1)
item = one random Segment under Economic-regions folder

given(item).publishedInclSubFolders();
when(user).unpublishesTheItem();
then(system).throwsException();

2)
given(user).publishesFolderIncludingSubNodes();
when(user).triesToUnPublishRandomSubNodeFromFolder();
then(user).encountersException();

Also its possible in personas apps.
given(user).groupsAllPersonasInAFolder();
given(user).publishesFolderIncludingSubNodes();
when(user).triesToUnPublishRandomSubNodeFromFolder();
then(user).encountersException();


Generated at Mon Feb 12 06:35:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.