Velocity icon indicating copy to clipboard operation
Velocity copied to clipboard

Folder Pathmarkers made invalid by sorting and/or deleting entry before a Folder

Open K4r0qtuYNE5G4qgZ opened this issue 10 years ago • 0 comments

Writing a sorted Filelist automatically invalidate any Pathmarker for Files and Folders located within a Folder.

Its a simple Bug, the Entry ID of a Folder becomes the Pathmarker for Folders and Files located in Folders, if the Filelist is sorted and the Pathmarkers not fixed (Fixing is easly possible i made a Routine for it for my own Delphi Port of Velocity) then all those Pathmarkers will automatically become invalid because the Entry ID changes.

Also the same happens if a File or Folder is deleted/removed from the Package and the Pathmarkers for all Files/Folders below are not fixed.

This Issue causes Files and Folders to vanish from the List and also causes crashes immediately because there are Files/Folders with invalid Pathmarkers and therefore referecing wrong Entry's.

K4r0qtuYNE5G4qgZ avatar Aug 15 '14 01:08 K4r0qtuYNE5G4qgZ