Author: mcantelon
Date: Mon Feb 13 19:25:44 2012
New Revision: 10880
Log:
Fixed bug with physical object creation.
Modified:
trunk/lib/task/import/csvImportTask.class.php
Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php Mon Feb 13 17:47:10
2012 (r10879)
+++ trunk/lib/task/import/csvImportTask.class.php Mon Feb 13 19:25:44
2012 (r10880)
@@ -169,9 +169,9 @@
'radNoteGeneral' => array(
'typeId' => array_search('General note', $termData['radNoteTypes'])
),
- 'radNoteStatementOfResponsibility' => array(
- 'typeId' => array_search('', $termData['titleNoteTypes'])
- ),
+// 'radNoteStatementOfResponsibility' => array(
+// 'typeId' => array_search('', $termData['titleNoteTypes'])
+// ),
'radNoteSourceOfTitleProper' => array(
'typeId' => array_search('Source of title proper',
$termData['titleNoteTypes'])
),
@@ -278,13 +278,13 @@
)
{
// create/fetch container
- $container = createOrFetchPhysicalObject(
+ $container = $self->createOrFetchPhysicalObject(
$name,
$location
);
// associate container with information object
- createRelation(
+ $self->createRelation(
$self->object->id,
$container->id,
QubitTerm::HAS_PHYSICAL_OBJECT_ID
--
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.