diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
index 4453cb32842e09cb84068ca9c39e9d220f8596d8..b32596646d1e16f26f4180d72082e83028fd0f81 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
@@ -110,7 +110,7 @@ def Folder_reindexObjectList(id_list_list):\n
 \n
 try:\n
   tree_id_list = folder.getTreeIdList()\n
-except NotImplementedError:\n
+except NotImplementedError, AttributeError:\n
   # Build a list of list, like this we parse ids only one time,\n
   # and then Folder_reinexObjectList will work with one list at\n
   # a time and remove it from the list of list\n
@@ -233,6 +233,7 @@ else:\n
                             <string>Folder_reindexObjectList</string>
                             <string>tree_id_list</string>
                             <string>NotImplementedError</string>
+                            <string>AttributeError</string>
                             <string>append</string>
                             <string>$append0</string>
                             <string>x</string>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 4540549358c9998a3bf97fb8e492379f18f00886..3e990b743e961c843004fbca714976a274c86afd 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-539
\ No newline at end of file
+541
\ No newline at end of file