[MGNLUI-7418] Untitled node in Browser-View after Cancel Action Created: 09/Aug/22  Updated: 08/Sep/22  Resolved: 06/Sep/22

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.22
Fix Version/s: 6.3.0, 6.2.24

Type: Bug Priority: Neutral
Reporter: Thomas Martin Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2022-08-09-08-18-31-013.png     PNG File image-2022-08-09-08-20-10-155.png    
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7485 Provide a fix Sub-task Completed Adam Siska  
MGNLUI-7486 Code review Sub-task Completed Roman Kovařík  
MGNLUI-7487 Preint QA Sub-task Completed Roman Kovařík  
MGNLUI-7488 QA Sub-task Completed Jaromir Sarf  
MGNLUI-7489 Backport to 6.2 Sub-task Completed Adam Siska  
MGNLUI-7500 Fix failing tests Sub-task Completed Adam Siska  
MGNLUI-7504 Integrate Sub-task Completed Adam Siska  
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:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Nucleus Quality Maintenance
Sprint: Nucleus 18
Story Points: 1
Team: Nucleus

 Description   

Steps to reproduce

  1. Click Add tour in Tours app
  2. Cancel the dialog
  3. untitled node visible in tree
  4. if selected, it turns into mgnl:tmpDeleted
  5. Node disappears on page reload

Expected results

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

Workaround

Reopen the app or just ignore the item.

Development notes

I was  able to reproduce it on 6.2.18 as well



 Comments   
Comment by Richard Gange [ 09/Aug/22 ]

Seems to be an issue in Tours, Tour Categories, Segments, Personas. Maybe more.

Comment by Roman Kovařík [ 25/Aug/22 ]

Discovery:

  • the node is not persisted, so it exist in memory (refreshing the grid fixes the issue)
  • the node is not filtered out as it has proper node types
  • Adding stream = stream.filter(jcrItemInteractionAvailability::isItemAvailable); to HierchicalJcrDataProvider would fix the issue
  • the issue is not present in the list view as it lists just persisted items
Generated at Mon Feb 12 09:45:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.