[MAGNOLIA-7104] Resource Loading: File (folder) locks on Windows when having sub-folders in a LM Created: 07/Aug/17  Updated: 07/Aug/17

Status: Open
Project: Magnolia
Component/s: resource-loader
Affects Version/s: 5.5.3, 5.5.4
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 and Windows 10


Attachments: Zip Archive empty-light-module_just-rename-it.zip    
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

 Description   

Using light modules on Windows has an annoying limitation/bug:
When a folder has sub-folders, the folder has a 'file' lock -> one can't rename or delete it until tomcat is stopped.

Reproduce:
Unzip this LM into and observer modules folder 'empty-light-module_just-rename-it.zip'
Try to rename the LM folder -> won't work
Try to rename the 'templates' or 'dialogs' folder -> won't work
Try to rename the 'templates\components' or 'dialogs\components' folder -> works (no sub-folders)
Add a sub-folder into 'templates\components' and try to rename it -> won't work.

This is a quite annoying behavior as it limits the developers flexibility quite tremendous when developing with LMs.


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