Bug #5859
closedResource map contains previous data file version
0%
Description
Here are steps to produce the bug:
1. Use the new data package and entity wizards to create a data package foo.1 and data object data.1
2. Modify data.1 and save the data package: data package foo.2 and data.2
I opened resourceMap_foo.2 it aggregates the following ids:
foo.2
data.2
data.1
The data.1 shouldn't be included in the resource map since it is previous version of data.2. It doesn't include in this resource map.
Updated by ben leinfelder almost 12 years ago
Is this just a problem with the code that "updates" the identifier of data.1 to data.2 not properly removing the original data object from the datapackage structure? I agree that the previous revision of the data should not be included in the resource map!
Updated by Jing Tao almost 12 years ago
Basically, the action should update the metadata map in DataPackage was replaced by the add. So there were current and previous version of the data file.