Author: david
Date: Thu Oct 14 14:40:18 2010
New Revision: 8127

Log:
Use default publication status setting. Fixes 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 
14:35:26 2010        (r8126)
+++ trunk/apps/qubit/modules/object/config/import/ead.yml       Thu Oct 14 
14:40:18 2010        (r8127)
@@ -42,7 +42,7 @@
     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)"]
+      Parameters: ["array('typeId' => QubitTerm::STATUS_TYPE_PUBLICATION_ID, 
'statusId' => sfConfig::get('app_defaultPubStatus', 
QubitTerm::PUBLICATION_STATUS_DRAFT_ID))"]
 
     # each of the following XPath expressions are relative to the current 
matched node:
 

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