View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003243 | DarkRadiant | Design/Coding | public | 06.10.2012 14:51 | 27.08.2013 14:32 |
Reporter | STiFU | Assigned To | STiFU | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.8.0 | ||||
Target Version | 1.8.0 | Fixed in Version | 1.8.0 | ||
Summary | 0003243: Readable Editor creates XData file duplicates in certain cases | ||||
Description | Before saving XData in a certain file, the Readable Editor does not check whether that file already exists in another searchpath of the Virtual File System and creates a duplicate for that reason. | ||||
Steps To Reproduce | For example, if you setup the RE to store xdata in the mod/xdata directory and a file with the same filename already exists in the mod_base/xdata directory, the RE just doesn't care and creates said file in the mod/xdata directory. Neither TDM nor DR will be able to load both files now. | ||||
Tags | No tags attached. | ||||
Fixed in b1231ab74d9e798a16a45d792a9eb11beb864f1a as soon as I get write-access to our GitHub Repository. Solution: RE will now search the VFS for the filename. If it can't find it, we're good. If it does find it, there are two cases: 1. It is the same as our target filename: We just add our definition to the existing file. 2. It is not the same as our target filename: The file exists in another searchpath and RE would create a duplicate if we continued here. So we add an increasing number to the targetfilename until on of the upper cases is reached. |
|
Merged. | |
Date Modified | Username | Field | Change |
---|---|---|---|
06.10.2012 14:51 | STiFU | New Issue | |
06.10.2012 14:51 | STiFU | Status | new => assigned |
06.10.2012 14:51 | STiFU | Assigned To | => STiFU |
06.10.2012 14:51 | STiFU | Status | assigned => confirmed |
06.10.2012 14:58 | STiFU | Note Added: 0004859 | |
06.10.2012 14:58 | STiFU | Status | confirmed => resolved |
06.10.2012 14:58 | STiFU | Resolution | open => fixed |
06.10.2012 14:58 | STiFU | Fixed in Version | => 1.8.0 |
06.10.2012 18:27 | greebo | Note Added: 0004861 | |
27.08.2013 14:32 | greebo | Status | resolved => closed |