NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Morpho doesn't allow users to modify the entity access rules at the second time #954

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: Jing Tao (Jing Tao) Original Redmine Issue: 5775, https://projects.ecoinformatics.org/ecoinfo/issues/5775 Original Date: 2013-01-09 Original Assignee: Jing Tao


I created a data package with a data file successfully. The docid of eml was tao.112 and data file id was tao.110. I modified the access rules for the data file and saved it. The eml id was tao.116 and the data file is tao.114. Then i closed the data package and opened it again. I modified the access rule and wanted to save it. It gave me an error:

Should not update data file id tao.114 because it is not the latest revsion (tao.110)

mbjones commented 6 years ago

Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2013-01-10T20:06:07Z


In the serializeData method of LocalDataStoreService class, the code to use a wrong order to look up the latest version.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:31:38Z


Original Bugzilla ID was 5775