Commit 579c1db9 authored by Sven Franck's avatar Sven Franck

erp5_hal_json_style: return info to test against when manually calling reindexSkinList

parent 2a061744
...@@ -57,6 +57,10 @@ for skin_folder in portal.portal_skins.objectValues():\n ...@@ -57,6 +57,10 @@ for skin_folder in portal.portal_skins.objectValues():\n
if skin_document.meta_type == "ERP5 Form":\n if skin_document.meta_type == "ERP5 Form":\n
# skin_document.setUid(None)\n # skin_document.setUid(None)\n
skin_document.reindexObject()\n skin_document.reindexObject()\n
\n
print "skins ok"\n
\n
return printed\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
  • @frequent @romain any objections to move ERP5Site_reindexSkinList in ERP5Site_reindexAll ?

    I saw that this is called in some functional tests, but I don't think it is still needed since forms are reindexed when they are created. (I am not sure they are properly reindexed when their id is changed though)

  • @jerome - you have to ask Romain on this one. The manual step used to be necessary when installing the renderjs bt5, because it did not work automatically. I don't know the current status.

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment