NCEAS / morpho

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

LocalDataStoreService.generateIdentifier() seems to be called twice #971

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 5797, https://projects.ecoinformatics.org/ecoinfo/issues/5797 Original Date: 2013-01-22 Original Assignee: ben leinfelder


When saving packages we see local Ids that have been incremented by 2 rather than 1. We should find out why the local id is being incremented twice for a single save.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-01-24T00:23:45Z


Found the faulty logic: too many "lastId++" statements.

mbjones commented 6 years ago

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


Original Bugzilla ID was 5797