Author: mcantelon
Date: Tue Feb 14 16:28:01 2012
New Revision: 10890

Log:
Fixed issue with importing physical objects.

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

Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php       Tue Feb 14 16:15:02 
2012        (r10889)
+++ trunk/lib/task/import/csvImportTask.class.php       Tue Feb 14 16:28:01 
2012        (r10890)
@@ -279,14 +279,14 @@
             {
               // create/fetch container
               $container = $self->createOrFetchPhysicalObject(
-                $name,
-                $location
+                $self->rowStatusVars['physicalObjectName'],
+                $self->rowStatusVars['physicalObjectLocation']
               );
 
               // associate container with information object
               $self->createRelation(
-                $self->object->id,
                 $container->id,
+                $self->object->id,
                 QubitTerm::HAS_PHYSICAL_OBJECT_ID
               );
             } else {

-- 
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