[open-ils-commits] r17860 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 20 23:54:29 EDT 2010
Author: dbs
Date: 2010-09-20 23:54:26 -0400 (Mon, 20 Sep 2010)
New Revision: 17860
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
Log:
Clean up description of ARN in O:A:Cat::Authority now that arn_value is gone
A comment in the create_authority_record_from_bib_field() method stated that
the ARN value needed to be unique across the database; that is no longer true
as of r17722. Fix comment accordingly.
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm 2010-09-21 03:48:32 UTC (rev 17859)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm 2010-09-21 03:54:26 UTC (rev 17860)
@@ -79,12 +79,10 @@
}
$control .= '</datafield>';
- # ARN, or "authority record number", needs to be unique across the database
+ # ARN, or "authority record number", used to need to be unique across the database.
# Of course, we have no idea what's in the database, and if the
- # cat.maintain_control_numbers flag is set to "TRUE" then the 003 will
- # be reset to the record ID anyway. Just use time() for now and hope that
- # two attempts to create an authority record in the same second doesn't
- # happen too often.
+ # cat.maintain_control_numbers flag is set to "TRUE" then the 001 will
+ # be reset to the record ID anyway.
my $arn = 'AUTOGEN-' . time();
# Placeholder MARCXML;
More information about the open-ils-commits
mailing list