Commit c8abf8a1 authored by Nicolas Dumazet's avatar Nicolas Dumazet

Removing the portal type after removing objects of this portal type.

Geek Module has several Geek Object children. If Geek Module
portal type is deleted, it becomes impossible to find
manage_delObject method on the Module to remove children objects
before deleting the Module.
Module hence has to be removed first, and only then Portal Type
can be removed.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39458 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f23618a
...@@ -3388,8 +3388,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -3388,8 +3388,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
SaveBusinessTemplate \ SaveBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveBusinessTemplate \ RemoveBusinessTemplate \
RemoveAllTrashBins \ RemoveAllTrashBins \
ImportBusinessTemplate \ ImportBusinessTemplate \
...@@ -4459,8 +4459,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4459,8 +4459,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
SaveBusinessTemplate \ SaveBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
...@@ -4636,8 +4636,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4636,8 +4636,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
SaveBusinessTemplate \ SaveBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
...@@ -4699,8 +4699,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4699,8 +4699,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckLocalRolesExists \ CheckLocalRolesExists \
CheckPropertySheetExists \ CheckPropertySheetExists \
CheckSkinsLayers \ CheckSkinsLayers \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
...@@ -4788,8 +4788,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4788,8 +4788,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckRoleExists \ CheckRoleExists \
CheckLocalRolesExists \ CheckLocalRolesExists \
CheckPropertySheetExists \ CheckPropertySheetExists \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
...@@ -4849,8 +4849,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4849,8 +4849,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
SaveBusinessTemplate \ SaveBusinessTemplate \
CheckBuiltBuildingState \ CheckBuiltBuildingState \
CheckNotInstalledInstallationState \ CheckNotInstalledInstallationState \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
...@@ -4885,8 +4885,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -4885,8 +4885,8 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
CheckRoleExists \ CheckRoleExists \
CheckLocalRolesExists \ CheckLocalRolesExists \
CheckPropertySheetExists \ CheckPropertySheetExists \
RemovePortalType \
RemoveModule \ RemoveModule \
RemovePortalType \
RemoveSkinFolder \ RemoveSkinFolder \
RemoveBaseCategory \ RemoveBaseCategory \
RemoveWorkflow \ RemoveWorkflow \
......
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