Issues with getEntry() and removeEntry() on Windows environment
|Reported by:||sdeshmukh@…||Owned by:||Martin Scharm <martin@…>|
CombineArchive v0.9.4.4 :
The functionality getEntry() and removeEntry() (with "location" or "entry" as parameter) doesn't work for Windows based system and they don't show any error or exceptions either.
The Steps to reproduce,
- Create combine archive and add a file as entry to it.
- Save and close this combine archive to file system.
- Open this existing combine archive.
4 a.Try to access entry ( getEntry() or removeEntry() ) using its relative file path.
4 b. Try to access entry ( getEntry() or removeEntry() ) using valid Archive Entry.
- The access to entry is not possible and these methods return failure ("null" in case of getEntry() and "false" for removeEntry()).
The initial analysis suggests that this issue is related with handling File separators during reading and accessing archive for different file systems.