[MAGNOLIA-6575] ClasspathResourceOrigin doesn't reliably show children Created: 02/Mar/16  Updated: 07/Mar/16  Resolved: 07/Mar/16

Status: Closed
Project: Magnolia
Component/s: resource-loader
Affects Version/s: None
Fix Version/s: 5.4.5

Type: Bug Priority: Blocker
Reporter: Philip Mundt Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d 10m
Original Estimate: Not Specified

Attachments: PNG File 1-classpath_entries_missing.png     PNG File 2-classpath_entries_apppearing_when_opening_subfolder.png     PNG File 3-duplicate_items_after_editing_classpath_file.png    
Issue Links:
causality
caused by MAGNOLIA-6523 Refactor ClasspathResourceOrigin and ... Closed
supersession
is superseded by MAGNOLIA-6581 Classpath service won't serve resourc... 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: Resource reloading without restart
Sprint: Basel 34
Story Points: 5

 Description   

When a classpath folder has subfolders and items ordered after that folder the files will only appear once the subfolder was opened.

To reproduce

  1. Goto resources app
  2. Open /travel-demo/templates/pages
  3. One will see file aboutDemo.yaml and folder areas, see
  4. Once opening the folder areas, subelements of pages folder will appear, see

Related issue

When editing a resource from classpath (and thus storing it in JCR), resources app will display two separate items in the app.
See

This happens because the underlying file from classpath has a different parent directory. With solving above issue, this will also go.



 Comments   
Comment by Mikaël Geljić [ 07/Mar/16 ]

Reopening to address the simplification effort in ClasspathEntryResolver.

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