Author: mcantelon
Date: Tue Jan 10 13:29:32 2012
New Revision: 10622

Log:
Added display of assocation relation.

Modified:
   trunk/lib/task/csvImportTask.class.php

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Tue Jan 10 13:03:12 2012        
(r10621)
+++ trunk/lib/task/csvImportTask.class.php      Tue Jan 10 13:29:32 2012        
(r10622)
@@ -319,7 +319,7 @@
               // if no entry found, create accession and entry
               if (!$accessionMapEntry)
               {
-                print 'Creating accession # '. $accessionNumber ."\n";
+                print "\nCreating accession # ". $accessionNumber ."\n";
 
                 // create new accession
                 $accession = new QubitAccession;
@@ -342,6 +342,8 @@
                 $accessionId = $accessionMapEntry->target_id;
               }
 
+              print "\nAssociating accession # ". $accessionNumber ." with ". 
$self->informationObject->title ."\n";
+
               // add relationship between information object and accession
               $relation = new QubitRelation;
               $relation->subjectId = $self->informationObject->id;
@@ -531,6 +533,7 @@
         $cvaToQubit = array(
           'Text'              => 'Textual record',
           'Photograph'        => 'Graphic material',
+          'OtherGraphical'    => 'Graphic material',
           'ArchitecturalPlan' => 'Architectural drawing',
           'Audio'             => 'Sound recording',
           'MovingImage'       => 'Moving images',

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to