View Issue Details

IDProjectCategoryView StatusLast Update
00303052.x IDE BugsResource TreePublic2019-01-30 14:50
ReporterSteven CampbellAssigned ToSteven Campbell 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.2.1 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030305: Resource Tree allows multiple Child folders with the same name
DescriptionWhile not technically a bug, we should address this now before it becomes a problem. In the IDE you can have:

Parent Folder
| Child A
| Child B
| Child B
| Child A

Whereby multiple child folders off the same parent have the same name.

All (most?) file systems don't allow this, and we shouldn't either - especially if we want to try and get away from using the GUID as the folder name as it would reduce our options as to what we can use ( such as the directory path - Sprites_Parent_Child_A and Sprites_Parent_Child_B in this case )

It also makes repairing root folders problematic, as I don't know which child folder maps up to what if we have two roots and the order has been corrupted.
Steps To ReproduceCreate multiple folders.
Notice you can rename them to the same name.
Notice you also have no restrictions on where you can place them.
TagsIDE, ResourceTree
2.x IDE Found In
2.x Runtime Found In
2.x IDE Verified In2.2.2.390
2.x Runtime Verified In2.2.2.302

Activities

Steven Campbell

2018-12-12 16:20

Manager   ~0062225

Fixed in Red IDE/GitHub Pull Request 4392
Git Ids:
5c15f680a254b0468d827c3c70c53f8d6a40d29b ( initial fix )
b6bb57fc760a6d2843d7e2a711ebd4f494b26ca0 ( preference and folders only )
ef61fc8bc2d2141f40c5b378a6c7cb6ecff0fe66 ( missed onImport )

Matthew McInnes

2019-01-30 14:50

Developer   ~0062591

Closing. Verified as fixed in:

IDE v2.2.2.390 Runtime v2.2.2.302