Project

General

Profile

Bug #5859

Resource map contains previous data file version

Added by Jing Tao over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
02/11/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5859

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.

History

#1 Updated by ben leinfelder over 7 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!

#2 Updated by Jing Tao over 7 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.

#3 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 5859

Also available in: Atom PDF