Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
a044d84c
Commit
a044d84c
authored
Jul 19, 2017
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reindexation of ERP5Form is now performed by ERP5Site_reindexAll script
parent
1460c40d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
165 deletions
+4
-165
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.py
...tal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.py
+0
-11
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.xml
...al_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.xml
+0
-62
bt5/erp5_web_ecommerce_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.zpt
...5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.zpt
+1
-23
bt5/erp5_web_ecrm_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecrm_ui_zuite/testE5gEcrmBasicNavigation.zpt
...erp5_web_e5g_ecrm_ui_zuite/testE5gEcrmBasicNavigation.zpt
+1
-23
bt5/erp5_web_ehr_test/PathTemplateItem/portal_tests/erp5_web_e5g_ehr_ui_zuite/testE5gEhrBasicNavigation.zpt
...s/erp5_web_e5g_ehr_ui_zuite/testE5gEhrBasicNavigation.zpt
+1
-23
bt5/erp5_web_eproject_test/PathTemplateItem/portal_tests/erp5_web_e5g_eproject_ui_zuite/testE5gEprojectBasicNavigation.zpt
..._e5g_eproject_ui_zuite/testE5gEprojectBasicNavigation.zpt
+1
-23
No files found.
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.py
deleted
100644 → 0
View file @
1460c40d
portal
=
context
.
getPortalObject
()
skin_tool
=
portal
.
portal_skins
for
skin_folder
in
portal
.
portal_skins
.
objectValues
():
for
skin_document
in
skin_folder
.
objectValues
():
if
skin_document
.
meta_type
==
"ERP5 Form"
:
# skin_document.setUid(None)
skin_document
.
reindexObject
()
print
"skins ok"
return
printed
bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList.xml
deleted
100644 → 0
View file @
1460c40d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string>
sql_catalog_id=None, additional_priority=0, final_activity_tag=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_reindexSkinList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_ecommerce_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.zpt
View file @
a044d84c
...
...
@@ -23,28 +23,6 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- skin list -->
<tr>
<td>
open
</td>
<td>
${base_url}/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList/
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
skins ok
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
<td></td>
</tr>
<!-- create sample data -->
<tr>
...
...
@@ -116,4 +94,4 @@
</tbody>
</table>
</body>
</html>
\ No newline at end of file
</html>
bt5/erp5_web_ecrm_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecrm_ui_zuite/testE5gEcrmBasicNavigation.zpt
View file @
a044d84c
...
...
@@ -23,28 +23,6 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- skin list -->
<tr>
<td>
open
</td>
<td>
${base_url}/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList/
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
skins ok
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
<td></td>
</tr>
<!-- create sample data -->
<tr>
...
...
@@ -103,4 +81,4 @@
</tbody>
</table>
</body>
</html>
\ No newline at end of file
</html>
bt5/erp5_web_ehr_test/PathTemplateItem/portal_tests/erp5_web_e5g_ehr_ui_zuite/testE5gEhrBasicNavigation.zpt
View file @
a044d84c
...
...
@@ -23,28 +23,6 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- skin list -->
<tr>
<td>
open
</td>
<td>
${base_url}/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList/
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
skins ok
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
<td></td>
</tr>
<!-- create sample data -->
<tr>
...
...
@@ -123,4 +101,4 @@
</tbody>
</table>
</body>
</html>
\ No newline at end of file
</html>
bt5/erp5_web_eproject_test/PathTemplateItem/portal_tests/erp5_web_e5g_eproject_ui_zuite/testE5gEprojectBasicNavigation.zpt
View file @
a044d84c
...
...
@@ -23,28 +23,6 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- skin list -->
<tr>
<td>
open
</td>
<td>
${base_url}/portal_skins/erp5_hal_json_style/ERP5Site_reindexSkinList/
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
skins ok
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
<td></td>
</tr>
<!-- create sample data -->
<tr>
...
...
@@ -108,4 +86,4 @@
</tbody>
</table>
</body>
</html>
\ No newline at end of file
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment