[MGNLPN-527] Publish Incl. Subnodes Action Is Unavailable Within The Segmentation App Created: 09/Dec/20  Updated: 28/Jan/22  Resolved: 04/Jan/22

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 2.0.7
Fix Version/s: 2.1.1, 2.0.15

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Javier Benito
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1d 7m
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Sprint: Pages Maintenance 3, Pages Maintenance 4
Story Points: 3

 Description   

Steps to reproduce

  1. Go to travel demo https://demoauthor.magnolia-cms.com/
  2. Go to Segments app
  3. Select the only folder 
  4. Try to click on the 'Publish Inc. Subnodes' action.

Expected results

You should be able to click the 'Publish Incl. Subnodes' button.

Actual results

The action is not available so you cannot click it.

Workaround

Overwrite the action availability rule to allow the action to be clickable.

Adding an empty subfolder within the folder makes the action clickable as well.

Development notes

The personas app does not seem to have this problem. When you compare their definition files, you can see that the personas app does not have the same availability rule that the segmentation app has. 
You can compare lines 128 of personas app definition with lines after 143 in segmentation app definition.

The other alternative would be to specify the node types in the rule for the segmentation app since it uses jcrHasChildrenRule.

6.2 affected, it works in 5.7.10.


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