diff --git a/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/bar_category.xml b/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/bar_category.xml index 921e80dba1c79ddd127fe9d5544c6f85ac749245..34d461407121ee753dbb2fd265d049bda0c01feb 100644 --- a/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/bar_category.xml +++ b/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/bar_category.xml @@ -36,10 +36,38 @@ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> </value> </item> + <item> + <key> <string>acquisition_append_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>acquisition_copy_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_mask_value</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>acquisition_object_id</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>acquisition_portal_type</string> </key> <value> <string>python: []</string> </value> </item> + <item> + <key> <string>acquisition_sync_value</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>categories</string> </key> <value> @@ -48,20 +76,100 @@ </tuple> </value> </item> + <item> + <key> <string>category_type</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>criterion_property</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>fallback_base_category</string> </key> <value> - <none/> + <tuple/> </value> </item> <item> <key> <string>id</string> </key> - <value> <string>bar_category</string> </value> + <value> <string>bar_category</string> </value> + </item> + <item> + <key> <string>id_generator</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id_group</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>1</string> </value> + </item> + <item> + <key> <string>membership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>multimembership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> </item> <item> <key> <string>portal_type</string> </key> <value> <string>Base Category</string> </value> </item> + <item> + <key> <string>read_permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>rid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>title</string> </key> <value> @@ -74,6 +182,12 @@ <none/> </value> </item> + <item> + <key> <string>write_permission</string> </key> + <value> + <none/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/foo_empty_category.xml b/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/foo_empty_category.xml index 4bab16ee7bfcb5af5b4848d4fe72d2d1a16cfe67..395d2ba7617178098a9ac6c6515b212167d9362e 100644 --- a/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/foo_empty_category.xml +++ b/bt5/erp5_ui_test/CategoryTemplateItem/portal_categories/foo_empty_category.xml @@ -60,7 +60,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>foo_empty_category</string> </value> + <value> <string>foo_empty_category</string> </value> </item> <item> <key> <string>portal_type</string> </key> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite.xml index 7d54389fc25266db37e275dfebff899e23063f4e..322e31db3aa7d14d97f08fe6d4c8f0988eff3ca7 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>business_template_zuite</string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite/testInstallFormRepositoryDialogCategoryPropagation.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite/testInstallFormRepositoryDialogCategoryPropagation.xml index c464e60dedb221949933e18b782175bc33e860e1..496c9146777266ee967906aa0ef642dedce09037 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite/testInstallFormRepositoryDialogCategoryPropagation.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/business_template_zuite/testInstallFormRepositoryDialogCategoryPropagation.xml @@ -44,6 +44,12 @@ </object> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/check_box_field_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/check_box_field_zuite.xml index 1b0682864eaa1c93a7ee1ac624ba3e991dae82b9..b04523fe5a3caf699ee54692d770d2da80ee141a 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/check_box_field_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/check_box_field_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>check_box_field_zuite</string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite.xml index 2ce835cf6f5a48aeb5c87f9111d8f15f6560acd2..723c4ed0ee18fa347fd88d79280d283337b2871e 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>document_zuite</string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSearchDialog.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSearchDialog.xml index 004f3ea551756e750af69de3719ee12465d37827..4574624b5a683dfb24852059881bbad1ad6b27e3 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSearchDialog.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSearchDialog.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite.xml index 50ec542ce6de45177f7d32aa096dd3a2b2632a9f..283648ce81165b7f97c6a098301f5bc6d212278c 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>listbox_zuite</string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testCustomSearch.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testCustomSearch.xml index aa31f4359078fd068593e1fc22a8a5914a9c74bb..8702f425ac37d3ccf16d3ba48e05c3d95b1b482e 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testCustomSearch.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testCustomSearch.xml @@ -44,6 +44,12 @@ </object> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testRedirect.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testRedirect.xml index 78edc976d86984ac44992a6859a448f16ac2514d..588f3f0c0cf4601324b9f730e7b4a997e1e9973d 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testRedirect.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testRedirect.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite.xml index 2a2e090f1e898407ffb1f971365761968cff0375..2c4b9a50d7ec24350dd5ec9f931bb4e5160321cc 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>filename_glob</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml index 7643ce12622b8924608c5315a83f8cf08c9f3102..fa4ec854eac3ecd2954df87b37c4509ecf7e11cc 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml @@ -44,6 +44,12 @@ </object> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml index 8724297de40aefd91750ffc06a221312d608df87..dcb452d39433900511f52f49b5f23a30c1b96c81 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogMain.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testExchangeActions.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testExchangeActions.xml index 34d7a0dd9abbdab4b8c8c454d0c9ee3ab34c4735..176de274d18861d59738d6161764f3beb409373c 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testExchangeActions.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testExchangeActions.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFieldClassGeneration.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFieldClassGeneration.xml index e14a854e0becc9d2d9cb40002c5501dabadbe084..94c1fbba82445ba8cb6407196e4a1db7b92d5a17 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFieldClassGeneration.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFieldClassGeneration.xml @@ -44,6 +44,12 @@ </object> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogActionListRendering.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogActionListRendering.xml index 9e988ab850fcbf814994f5c7f34ef57bf6f064a9..9513fc789e20a91b2b8cfa4b28070307103d6d25 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogActionListRendering.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogActionListRendering.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogOnSiteObject.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogOnSiteObject.xml index 97f5790913099809fd819ce750db73d94dc5e42f..07ba06f3166e7366eb53e99e584c8322090227d8 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogOnSiteObject.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFormDialogOnSiteObject.xml @@ -50,6 +50,12 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite.xml index 4a80377b46aa89c1bca28af252442b20f7e22a3b..9dd9da534716cd9cf992602310a57c6451e64d40 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite.xml @@ -24,6 +24,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>relation_field_zuite</string> </value> diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldDefaultValue.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldDefaultValue.xml new file mode 100644 index 0000000000000000000000000000000000000000..16039d09655e60f2b7253fb57e857bdb1c9f07b2 --- /dev/null +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldDefaultValue.xml @@ -0,0 +1,158 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_dav_writelocks</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<html xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal">\n +<head>\n +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n +<title>Test Simple Relation Field, using metadata tab to set categories</title>\n +</head>\n +<body>\n +<table cellpadding="1" cellspacing="1" border="1">\n +<thead>\n +<tr><td rowspan="1" colspan="3">Test Simple Relation Field, using metadata tab\n +to set categories</td></tr>\n +</thead><tbody>\n +<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n +<tr>\n + <td>open</td>\n + <td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertTextPresent</td>\n + <td>Created Successfully.</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>open</td>\n + <td>${base_url}/foo_module/ListBoxZuite_waitForActivities</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertTextPresent</td>\n + <td>Done.</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>open</td>\n + <td>${base_url}/foo_module/view</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>clickAndWait</td>\n + <td>link=Title 0</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyValue</td>\n + <td>field_my_fake_category_title</td>\n + <td></td>\n +</tr>\n +</tbody></table>\n +</body>\n +</html>\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>testSimpleRelationFieldDefaultValue</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_doNothing.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_doNothing.xml index b22e4d8a994c9808e7d46893917b72fead40ea5f..865d6ba04dac2984832a148a5a2aec4f9325f8f7 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_doNothing.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_doNothing.xml @@ -84,6 +84,12 @@ return context.ERP5XhtmlStyle_redirect(context.absolute_url(), keep_items={\'por <none/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view.xml index 34b0618d08b6d7a0180c4dfdb62b96b17e63d631..4a0b1a4129ff27bfc8543fbf0f58664d11556e1f 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view.xml @@ -110,6 +110,7 @@ <string>my_id</string> <string>my_title</string> <string>my_foo_category_title</string> + <string>my_fake_category_title</string> </list> </value> </item> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_fake_category_title.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_fake_category_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..d928f858a5adb35ccebf7e202510816b5b7e054b --- /dev/null +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_fake_category_title.xml @@ -0,0 +1,529 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Form.RelationField</string> + <string>RelationStringField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_fake_category_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>relation_result_ambiguous</string> </key> + <value> <string>Select appropriate document in the list.</string> </value> + </item> + <item> + <key> <string>relation_result_empty</string> </key> + <value> <string>No such document was found.</string> </value> + </item> + <item> + <key> <string>relation_result_too_long</string> </key> + <value> <string>Too many documents were found.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string>fake_category</string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string>title</string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string>Base_jumpToRelatedDocument</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Category</string> + <string>Category</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Fake Category</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string>Base_validateRelation</string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_foo_category_title.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_foo_category_title.xml index 95bc0da16db6728b9ab27ce747dd2a11616e4eb6..b481eed1f23a935ed2233126609665194179bad7 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_foo_category_title.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_foo_category_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDummyDialog.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDummyDialog.xml index a900f69f237b6338a40f5cda57fe59b9d742cf34..daf3cc022e6b7c002c1703e659fd2cd9f6e392ad 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDummyDialog.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDummyDialog.xml @@ -45,6 +45,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>action</string> </key> <value> <string>Foo_doNothing</string> </value> @@ -70,7 +76,7 @@ <value> <dictionary> <item> - <key> <string>left</string> </key> + <key> <string>left</string> </key> <value> <list> <string>your_string_field</string> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewRelationField/my_foo_category_title.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewRelationField/my_foo_category_title.xml index 95bc0da16db6728b9ab27ce747dd2a11616e4eb6..b481eed1f23a935ed2233126609665194179bad7 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewRelationField/my_foo_category_title.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewRelationField/my_foo_category_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index eaf7a13d15e02e082b62c96f10b881336ece332c..7730ef7f3e0586b9070623baed6032dff904c9ea 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -87 \ No newline at end of file +89 \ No newline at end of file diff --git a/bt5/erp5_ui_test/bt/short_title b/bt5/erp5_ui_test/bt/short_title new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_ui_test/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file