[MGNLUI-5707] Some relevant JCR actions do not work on empty value context Created: 09/Mar/20  Updated: 13/Mar/20  Resolved: 11/Mar/20

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

Type: Bug Priority: Major
Reporter: Michael Duerig Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by PAGES-261 CLONE - Some relevant JCR actions do ... Closed
Problem/Incident
is caused by MGNLUI-5219 New framework: support for root item ... Closed
Relates
relates to MGNLDAM-831 Upload Zip action handles empty value... Closed
duplicate
is duplicated by MGNLUI-5716 Can not add folder to root level 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
Sprint: UI Framework 19
Story Points: 2

 Description   

Known affected actions:

  • add node action
  • command actions

Steps to reproduce

  • Switch to segments app
  • With out selecting anything click "add folder"
  • Nothing happens

Expected behaviour

  • A new top level folder is created

Additional observations

  • Nothing in the logs
  • No error or warning or other visual feedback
  • Maybe a regression from MGNLUI-5219
  • Adding folder to an existing folder does work. Only adding folder to root is affected.

the root cause is here info.magnolia.ui.contentapp.action.AbstractJcrAction#execute
the action should now apply the fallback in case the value context is empty



 Comments   
Comment by Michael Duerig [ 09/Mar/20 ]

Relaying apchelintcev from Slack:
 
> the root cause is here info.magnolia.ui.contentapp.action.AbstractJcrAction#execute
> the action should now apply the fallback in case the value context is empty

Generated at Mon Feb 12 09:29:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.