Author: mcantelon
Date: Tue Apr 3 11:15:06 2012
New Revision: 11349
Log:
Fixed issues with RAD title note importing.
Modified:
trunk/lib/task/import/csvImportTask.class.php
trunk/lib/task/import/example/rad/example_information_objects.csv
Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php Tue Apr 3 00:03:59
2012 (r11348)
+++ trunk/lib/task/import/csvImportTask.class.php Tue Apr 3 11:15:06
2012 (r11349)
@@ -150,7 +150,6 @@
),
*/
'columnMap' => array(
- 'radParallelTitles' => 'alternateTitle',
'radEdition' => 'edition',
'radArchivalHistory' => 'archivalHistory',
'institutionIdentifier' => 'institutionResponsibleIdentifier'
@@ -162,7 +161,6 @@
'radOtherTitleInformation' => 'otherTitleInformation',
'radStatementOfProjection' => 'statementOfProjection',
'radStatementOfCoordinates' => 'statementOfCoordinates',
- 'radStatementOfResponsibility' =>
'titleStatementOfResponsibility',
'radStatementOfScaleArchitectural' =>
'statementOfScaleArchitectural',
'radStatementOfScaleCartographic' =>
'statementOfScaleCartographic',
'radIssuingJurisdiction' =>
'issuingJurisdictionAndDenomination',
@@ -193,15 +191,21 @@
'radNotePhysicalDescription' => array(
'typeId' => array_search('Physical description',
$termData['radNoteTypes'])
),
- 'radNoteStatementOfResponsibility' => array(
+ 'radTitleStatementOfResponsibility' => array(
'typeId' => array_search('Statements of responsibility',
$termData['titleNoteTypes'])
),
- 'radNoteSourceOfTitleProper' => array(
+ 'radTitleParallelTitles' => array(
+ 'typeId' => array_search('Parallel titles and other title
information', $termData['titleNoteTypes'])
+ ),
+ 'radTitleSourceOfTitleProper' => array(
'typeId' => array_search('Source of title proper',
$termData['titleNoteTypes'])
),
'radTitleVariationsInTitle' => array(
'typeId' => array_search('Variations in title',
$termData['titleNoteTypes'])
),
+ 'radTitleAttributionsAndConjectures' => array(
+ 'typeId' => array_search('Attributions and conjectures',
$termData['titleNoteTypes'])
+ ),
'radTitleContinues' => array(
'typeId' => array_search('Continuation of title',
$termData['titleNoteTypes'])
),
Modified: trunk/lib/task/import/example/rad/example_information_objects.csv
==============================================================================
--- trunk/lib/task/import/example/rad/example_information_objects.csv Tue Apr
3 00:03:59 2012 (r11348)
+++ trunk/lib/task/import/example/rad/example_information_objects.csv Tue Apr
3 11:15:06 2012 (r11349)
@@ -1,3 +1,3 @@
-"legacyId","parentId","title","identifier","levelOfDetail","levelOfDescription","radGeneralMaterialDesignation","radParallelTitles","radOtherTitleInformation","radStatementOfResponsibility","extentAndMedium","repository","radStatementOfScaleCartographic","radStatementOfProjection","radStatementOfCoordinates","radStatementOfScaleArchitectural","radIssuingJurisdiction","radEdition","repository","radEditionStatementOfResponsibility","radArchivalHistory","acquisition","scopeAndContent","appraisal","accruals","arrangement","descriptionIdentifier","institutionIdentifier","rules","revisionHistory","sources","accessConditions","reproductionConditions","language","languageNote","script","physicalCharacteristics","findingAids","locationOfOriginals","locationOfCopies","relatedUnitsOfDescription","publicationNote","radTitleProperOfPublishersSeries","radParallelTitlesOfPublishersSeries","radOtherTitleInformationOfPublishersSeries","radStatementOfResponsibilityRelatingToPublishersSeries",
"radNumberingWithinPublishersSeries","radNoteOnPublishersSeries","radStandardNumber","descriptionStatus","publicationStatus","radGeneralNote","subjectAccessPoints","placeAccessPoints","nameAccessPoints"
-1,,"Example Fonds","F1","Full","fonds","Textual record","Example Fonds: An
Alternate Title","Some information about the titlle of Example
Fonds.","Statement of responsibility for Example Fonds.","Example Fonds extent
and medium","exampleRepository","Example Fonds statement of scale
(cartographic).","Example Fonds statement of projection","Example Fonds
statement of coordinates","Example Fonds statement of scale
(architectural)","Example Fonds issuing jurisdiction","Example Fonds edition
statement.","Example Repository","Example Fonds statement of responsibility for
edition","Example Fonds archival history","Example Fonds acquisition
source","Example Fonds scope and content","Example Fonds appraisal","Example
Fonds accruals","Example Fonds arrangement","Example Fonds description
identifier","Example Fonds institution identifier","Example Fonds rules and
conventions","Example Fonds dates of creation, revision, and deletion","Example
Fonds sources","Example Fonds conditions gov
erning access","Example Fonds reproduction conditions","en|fr","Example Fonds
language note","en","Example Fonds physical characteristics","Example Fonds
finding aids","Example Fonds location of originals","Example Fonds location of
copies","Example Fonds related units of description","Example Fonds publication
note","Example Fonds title proper of publishers series","Example Fonds parallel
titles of publisher's series","Example Fonds other title information of
publisher's series","Example Fonds statement of responsibility relating to
publishersSeries","Example Fonds numbering within publishers series","Example
Fonds note on publishers series",11111,"Final","published","Example Fonds
general note","Subject 1|Subject 2","Place 1|Place 2","Name 1|Name 2"
-2,1,"Example Item","F1-IT1","Full","item","Textual record","Example Item: An
Alternate Title","Some information about the titlle of Example
Item.","Statement of responsibility for Example Item.","Example Item extent and
medium","exampleRepository","Example Item statement of scale
(cartographic).","Example Item statement of projection","Example Item statement
of coordinates","Example Item statement of scale (architectural)","Example Item
issuing jurisdiction","Example Item edition statement.","Example
Repository","Example Item statement of responsibility for edition","Example
Item archival history","Example Items acquisition source","Example Items scope
and content","Example Item appraisal","Example Item accruals","Example Item
arrangement","Example Item description identifier","Example Item institution
identifier","Example Item rules and conventions","Example Item dates of
creation, revision, and deletion","Example Item sources","Example Item
conditions governing access","Ex
ample Item reproduction conditions","en","Example Item language
note","en|fr","Example Item physical characteristics","Example Item finding
aids","Example Item location of originals","Example Item location of
copies","Example Item related units of description","Example Item publication
note","Example Item title proper of publishers series","Example Item parallel
titles of publisher's series","Example Item other title information of
publisher's series","Example Item statement of responsibility relating to
publishersSeries","Example Item numbering within publishers series","Example
Item note on publishers series",22222,"Final","published","Example Item general
note","Subject 3|Subject 4","Place 3|Place 4","Name 3|Name 4"
+legacyId,parentId,title,identifier,levelOfDetail,levelOfDescription,radGeneralMaterialDesignation,radTitleAttributionsAndConjectures,radTitleContinues,radTitleSourceOfTitleProper,radTitleVariationsInTitle,radTitleParallelTitles,radOtherTitleInformation,radTitleStatementOfResponsibility,extentAndMedium,repository,radStatementOfScaleCartographic,radStatementOfProjection,radStatementOfCoordinates,radStatementOfScaleArchitectural,radIssuingJurisdiction,radEdition,repository,radEditionStatementOfResponsibility,radArchivalHistory,acquisition,scopeAndContent,appraisal,accruals,arrangement,descriptionIdentifier,institutionIdentifier,rules,revisionHistory,sources,accessConditions,reproductionConditions,language,languageNote,script,physicalCharacteristics,findingAids,locationOfOriginals,locationOfCopies,relatedUnitsOfDescription,publicationNote,radTitleProperOfPublishersSeries,radParallelTitlesOfPublishersSeries,radOtherTitleInformationOfPublishersSeries,radStatementOfResponsibilityRe
latingToPublishersSeries,radNumberingWithinPublishersSeries,radNoteOnPublishersSeries,radStandardNumber,descriptionStatus,publicationStatus,radGeneralNote,subjectAccessPoints,placeAccessPoints,nameAccessPoints
+1,,Example Fonds,F1,Full,fonds,Textual record,Example Fonds title attributes
and conjectures,Example Fonds continuation of title,Example Fonds source of
title proper,Example Fonds variations in title,Example Fonds: An Alternate
Title,Some information about the titlle of Example Fonds.,Statement of
responsibility for Example Fonds.,Example Fonds extent and
medium,exampleRepository,Example Fonds statement of scale
(cartographic).,Example Fonds statement of projection,Example Fonds statement
of coordinates,Example Fonds statement of scale (architectural),Example Fonds
issuing jurisdiction,Example Fonds edition statement.,Example
Repository,Example Fonds statement of responsibility for edition,Example Fonds
archival history,Example Fonds acquisition source,Example Fonds scope and
content,Example Fonds appraisal,Example Fonds accruals,Example Fonds
arrangement,Example Fonds description identifier,Example Fonds institution
identifier,Example Fonds rules and conventions,"Example Fo
nds dates of creation, revision, and deletion",Example Fonds sources,Example
Fonds conditions governing access,Example Fonds reproduction
conditions,en|fr,Example Fonds language note,en,Example Fonds physical
characteristics,Example Fonds finding aids,Example Fonds location of
originals,Example Fonds location of copies,Example Fonds related units of
description,Example Fonds publication note,Example Fonds title proper of
publishers series,Example Fonds parallel titles of publisher's series,Example
Fonds other title information of publisher's series,Example Fonds statement of
responsibility relating to publishersSeries,Example Fonds numbering within
publishers series,Example Fonds note on publishers
series,11111,Final,published,Example Fonds general note,Subject 1|Subject
2,Place 1|Place 2,Name 1|Name 2
+2,1,Example Item,F1-IT1,Full,item,Textual record,Example Item title attributes
and conjectures,Example Item continuation of title,Example Item source of title
proper,Example Item variations in title,Example Item: An Alternate Title,Some
information about the titlle of Example Item.,Statement of responsibility for
Example Item.,Example Item extent and medium,exampleRepository,Example Item
statement of scale (cartographic).,Example Item statement of projection,Example
Item statement of coordinates,Example Item statement of scale
(architectural),Example Item issuing jurisdiction,Example Item edition
statement.,Example Repository,Example Item statement of responsibility for
edition,Example Item archival history,Example Items acquisition source,Example
Items scope and content,Example Item appraisal,Example Item accruals,Example
Item arrangement,Example Item description identifier,Example Item institution
identifier,Example Item rules and conventions,"Example Item dates of creatio
n, revision, and deletion",Example Item sources,Example Item conditions
governing access,Example Item reproduction conditions,en,Example Item language
note,en|fr,Example Item physical characteristics,Example Item finding
aids,Example Item location of originals,Example Item location of copies,Example
Item related units of description,Example Item publication note,Example Item
title proper of publishers series,Example Item parallel titles of publisher's
series,Example Item other title information of publisher's series,Example Item
statement of responsibility relating to publishersSeries,Example Item numbering
within publishers series,Example Item note on publishers
series,22222,Final,published,Example Item general note,Subject 3|Subject
4,Place 3|Place 4,Name 3|Name 4
--
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.