[open-ils-commits] r17861 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Cat (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 20 23:56:49 EDT 2010


Author: dbs
Date: 2010-09-20 23:56:46 -0400 (Mon, 20 Sep 2010)
New Revision: 17861

Modified:
   branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
Log:
Backport r17860 from trunk: 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: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm	2010-09-21 03:54:26 UTC (rev 17860)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm	2010-09-21 03:56:46 UTC (rev 17861)
@@ -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