Created
October 1, 2013 08:10
-
-
Save ivanteoh/6775258 to your computer and use it in GitHub Desktop.
On DatabaseReplication page, 'From an XML File' is not working.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?><plominodatabase id="adb"><document id="0dfff131-345d-4bd1-b4e5-9f1295bc71b3" lastmodified="2013/10/01 07:50:25.400900 UTC"><params> | |
<param> | |
<value><struct> | |
<member> | |
<name>title_must</name> | |
<value><string>Abc</string></value> | |
</member> | |
<member> | |
<name>Plomino_Authors</name> | |
<value><array><data> | |
<value><string>[email protected]</string></value> | |
</data></array></value> | |
</member> | |
<member> | |
<name>Form</name> | |
<value><string>frmTest</string></value> | |
</member> | |
</struct></value> | |
</param> | |
</params></document><document id="68fac73f-a97d-4164-8350-3cdfe00bf05c" lastmodified="2013/10/01 07:50:39.375349 UTC"><params> | |
<param> | |
<value><struct> | |
<member> | |
<name>title_must</name> | |
<value><string>def</string></value> | |
</member> | |
<member> | |
<name>Plomino_Authors</name> | |
<value><array><data> | |
<value><string>[email protected]</string></value> | |
</data></array></value> | |
</member> | |
<member> | |
<name>Form</name> | |
<value><string>frmTest</string></value> | |
</member> | |
</struct></value> | |
</param> | |
</params></document></plominodatabase> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plominodatabase id="adb"> | |
<design> | |
<dbsettings version="1.16"> | |
<AboutDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></AboutDescription> | |
<UsingDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></UsingDescription> | |
<IndexAttachments type="Products.Archetypes.Field.BooleanField">False</IndexAttachments> | |
<FulltextIndex type="Products.Archetypes.Field.BooleanField">True</FulltextIndex> | |
<IndexInPortal type="Products.Archetypes.Field.BooleanField">False</IndexInPortal> | |
<debugMode type="Products.Archetypes.Field.BooleanField">False</debugMode> | |
<CountDocuments type="Products.Archetypes.Field.BooleanField">False</CountDocuments> | |
<DateTimeFormat type="Products.Archetypes.Field.StringField">%Y-%m-%d</DateTimeFormat> | |
<StartPage type="Products.Archetypes.Field.StringField"/> | |
<i18n type="Products.Archetypes.Field.StringField"/> | |
<DoNotListUsers type="Products.Archetypes.Field.BooleanField">False</DoNotListUsers> | |
<DoNotReindex type="Products.Archetypes.Field.BooleanField">False</DoNotReindex> | |
<excludeFromNav type="Products.Archetypes.Field.BooleanField">False</excludeFromNav> | |
<acl AnomynousAccessRight="NoAccess" AuthenticatedAccessRight="NoAccess"> | |
<params id="UserRoles"> | |
<param> | |
<value><struct> | |
</struct></value> | |
</param> | |
</params> | |
<params id="SpecificRights"> | |
<param> | |
<value><struct> | |
<member> | |
<name>specific_deletedocument</name> | |
<value><string>PlominoAuthor</string></value> | |
</member> | |
</struct></value> | |
</param> | |
</params> | |
</acl> | |
</dbsettings> | |
<element id="frmTest" title="Test Form" type="PlominoForm"> | |
<id type="Products.Archetypes.Field.StringField">frmTest</id> | |
<onCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onCreateDocument> | |
<onOpenDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onOpenDocument> | |
<beforeSaveDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></beforeSaveDocument> | |
<onSaveDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSaveDocument> | |
<onDeleteDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onDeleteDocument> | |
<onSearch type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSearch> | |
<beforeCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></beforeCreateDocument> | |
<FormLayout type="Products.Archetypes.Field.TextField"><![CDATA[ | |
<p>Title:</p> | |
<p><span class="plominoFieldClass">title_must</span></p> | |
]]></FormLayout> | |
<FormMethod type="Products.Archetypes.Field.TextField"><![CDATA[Auto]]></FormMethod> | |
<DocumentTitle type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentTitle> | |
<DynamicDocumentTitle type="Products.Archetypes.Field.BooleanField">False</DynamicDocumentTitle> | |
<StoreDynamicDocumentTitle type="Products.Archetypes.Field.BooleanField">False</StoreDynamicDocumentTitle> | |
<DocumentId type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentId> | |
<ActionBarPosition type="Products.Archetypes.Field.StringField">TOP</ActionBarPosition> | |
<HideDefaultActions type="Products.Archetypes.Field.BooleanField">False</HideDefaultActions> | |
<HideInMenu type="Products.Archetypes.Field.BooleanField">False</HideInMenu> | |
<isSearchForm type="Products.Archetypes.Field.BooleanField">False</isSearchForm> | |
<isPage type="Products.Archetypes.Field.BooleanField">False</isPage> | |
<SearchView type="Products.Archetypes.Field.StringField"/> | |
<SearchFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></SearchFormula> | |
<Position type="Products.Archetypes.Field.IntegerField"/> | |
<excludeFromNav type="Products.Archetypes.Field.BooleanField">False</excludeFromNav> | |
<elements> | |
<element id="title_must" title="title_must" type="PlominoField"> | |
<id type="Products.Archetypes.Field.StringField">title_must</id> | |
<FieldType type="Products.Archetypes.Field.StringField">TEXT</FieldType> | |
<FieldMode type="Products.Archetypes.Field.StringField">EDITABLE</FieldMode> | |
<Formula type="Products.Archetypes.Field.TextField"><![CDATA[]]></Formula> | |
<FieldReadTemplate type="Products.Archetypes.Field.StringField"/> | |
<FieldEditTemplate type="Products.Archetypes.Field.StringField"/> | |
<Mandatory type="Products.Archetypes.Field.BooleanField">True</Mandatory> | |
<ValidationFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></ValidationFormula> | |
<ToBeIndexed type="Products.Archetypes.Field.BooleanField">False</ToBeIndexed> | |
<IndexType type="Products.Archetypes.Field.StringField">DEFAULT</IndexType> | |
</element> | |
</elements> | |
</element> | |
</design> | |
</plominodatabase> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (innermost last): | |
Module ZPublisher.Publish, line 126, in publish | |
Module ZPublisher.mapply, line 77, in mapply | |
Module ZPublisher.Publish, line 46, in call_object | |
Module <string>, line 4, in manage_importFromXML | |
Module AccessControl.requestmethod, line 70, in _curried | |
Module Products.CMFPlomino.PlominoReplicationManager, line 1384, in manage_importFromXML | |
Module <string>, line 5, in importFromXML | |
Module AccessControl.requestmethod, line 70, in _curried | |
Module Products.CMFPlomino.PlominoReplicationManager, line 1412, in importFromXML | |
Module ZPublisher.HTTPRequest, line 1262, in get | |
TypeError: 'NoneType' object has no attribute '__getitem__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment