[MGNLPN-614] jcrMultipropertyValue is not removed when last item from multifield is removed Created: 01/Oct/20  Updated: 16/Oct/23  Resolved: 16/Oct/23

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: None
Fix Version/s: None

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

Issue Links:
causality
relation
is related to MGNLPN-104 Adding & removing a segment to a vari... 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
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

If you pick a segment as the audience for a variant, and delete this segment from the Segments app, the reference to the deleted segment is still present. You’d have to manually remove it or select a different segment in order to remove the variant’s segment reference.

Steps
-Create a segment within the Segments App
-Go the Pages App and select a page from the tree that contains a variant. Or Create a page variant if none are present.
-Go to the JCR and check the Segments workspace to take note of the uuid of the segment you made.
-Click “Choose Audience” and select the Segment you have created
-Go back to the Segments App and delete this Segment
-Go back to the Pages app and you will see that the segment is still chosen as the page’s audience
-Further, if you check the JCR, the mgnl:assignedSegments property is still present and its value is the uuid of the deleted segment.

Expected result
When deleting a segment from the Segments App, all references to the deleted segment are removed.

Actual result
When deleting a segment from the Segments App, all references to the deleted segment are still present.

Additional notes
This was tested on 6.2.3 and 5.7.4.



 Comments   
Comment by Roman Kovařík [ 11/Mar/21 ]

When I attach more than one segment to the variant, I only see the first uuid, and no other additional segments.

That's MGNLUI-6433.

Comment by Laura Delnevo [ 16/Oct/23 ]

Hello, 

This ticket is now marked as closed due to one of the following reasons: 

  • A long period of inactivity 
  • Uses an old or Beta version of an application, module, or framework that we no longer support 
  • The issue is no longer reproducible or has been fixed in later versions 

If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you. 

Thank you, 

The Magnolia Team

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