Author: david
Date: Thu Oct 14 13:38:16 2010
New Revision: 8123

Log:
Set publication status on EAD import. Refs issue #1658.

Modified:
   trunk/apps/qubit/modules/object/config/import/ead.yml

Modified: trunk/apps/qubit/modules/object/config/import/ead.yml
==============================================================================
--- trunk/apps/qubit/modules/object/config/import/ead.yml       Thu Oct 14 
11:42:45 2010        (r8122)
+++ trunk/apps/qubit/modules/object/config/import/ead.yml       Thu Oct 14 
13:38:16 2010        (r8123)
@@ -39,6 +39,11 @@
       Method:  setSourceStandard
       Parameters: ["'http://www.loc.gov/ead/ead.xsd'"]
 
+    publicationStatus:
+      XPath:   "."    # not really a match, just use self
+      Method:  setStatus
+      Parameters: ["array('typeId' => QubitTerm::STATUS_TYPE_PUBLICATION_ID, 
'statusId' => QubitTerm::PUBLICATION_STATUS_DRAFT_ID)"]
+
     # each of the following XPath expressions are relative to the current 
matched node:
 
     level:

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