https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362008-09-24T20:39:53ZEcoinformatics RedmineMetacat - Bug #3019: Remove usage of .lastid files within the registryhttps://projects.ecoinformatics.org/ecoinfo/issues/3019?journal_id=103702008-09-24T20:39:53ZShaun Walbridgewalbridge@nceas.ucsb.edu
<ul></ul><p>Fixed in <a class="changeset" title="Number of fixes, including removing all lastid code and replacing with a single function which al..." href="https://projects.ecoinformatics.org/ecoinfo/projects/metacat-5/repository/metacat/revisions/4378">r4378</a>. Instead of storing the last used id (lastid) on disk, just perform a lookup each time, eliminating the pain-point of needing to set the permissions correctly on each .lastid file.</p>
<p>Removed updateLastId() function, consolidated everything under newAccessionNumber(). Rewrote the insertMetadata() call and associated 'updating' code accordingly. If conflicts do arise, we should fix them by changing things in getMaxDocId within DBUtil.java directly.</p> Metacat - Bug #3019: Remove usage of .lastid files within the registryhttps://projects.ecoinformatics.org/ecoinfo/issues/3019?journal_id=103712013-03-27T21:22:01ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 3019</p>