[MGNLPN-105] Implement delete method in BaseVariantManager Created: 12/May/14  Updated: 05/Jun/14  Resolved: 12/May/14

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

Type: Task Priority: Neutral
Reporter: Philip Mundt Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLPN-106 Add delete action which makes use of ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Personalisation

 Description   

The delete method should:

  • remove the actual variant
  • remove the variants node if there are no variants left
    • in this case also remove the mixing (mgnl:hasVariants) from the main node

The method should also be able to delete a variants node and also remove the mgnl:hasVariants mixin from the main node.



 Comments   
Comment by Philip Mundt [ 12/May/14 ]

info.magnolia.personalization.variant.CopyVariantManagerTest#testRemoveLastVariant() fails

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