diff --git a/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain/by_subject.xml b/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain/by_subject.xml index fa8d0e0b248c6e34603b999561519a56c411a31f..d19b9884a793ad3ae3286e08f98449e300ee860a 100644 --- a/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain/by_subject.xml +++ b/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain/by_subject.xml @@ -20,7 +20,7 @@ </item> <item> <key> <string>domain_generator_method_id</string> </key> - <value> <string>WebPageModule_generateDomain</string> </value> + <value> <string>ERP5Site_generateDomain</string> </value> </item> <item> <key> <string>id</string> </key> diff --git a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ERP5Site_generateDomain.xml similarity index 98% rename from bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml rename to bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ERP5Site_generateDomain.xml index 0ecea4e34d82ff0b5646b882c0e1b8bcf004a918..70adb7ab2b4c9c4ed89060cff6ed21d7c3ce36b1 100644 --- a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml +++ b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ERP5Site_generateDomain.xml @@ -129,7 +129,7 @@ return domain_list\n </item> <item> <key> <string>id</string> </key> - <value> <string>WebPageModule_generateDomain</string> </value> + <value> <string>ERP5Site_generateDomain</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py b/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py index 35b9e666bbd9c675da919053664bf764884302a0..c560c336a0ae6193601abddab73f94b86c10a859 100644 --- a/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py +++ b/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py @@ -82,7 +82,7 @@ class TestUNG(ERP5TypeTestCase): def getTitleListToBySubjectDomain(self): parent = self.portal.portal_domains.ung_domain.by_subject - return [domain.getTitle() for domain in self.portal.WebPageModule_generateDomain(0, parent)] + return [domain.getTitle() for domain in self.portal.ERP5Site_generateDomain(0, parent)] def testERP5Site_createNewWebDocument(self): """Test if the script creates the objects using Templates correctly""" @@ -97,8 +97,8 @@ class TestUNG(ERP5TypeTestCase): portal_type="Web Illustration", reference="default-Web.Illustration.Reference") - def testWebPageModule_generateDomain(self): - """Test if script WebPageModule_generateDomain generates the list of + def testERP5Site_generateDomain(self): + """Test if script ERP5Site_generateDomain generates the list of domains correctly""" web_page = self.portal.web_page_module.newContent(portal_type="Web Page") self.stepTic() diff --git a/bt5/erp5_web_ung_theme/bt/revision b/bt5/erp5_web_ung_theme/bt/revision index 2c136b29b5258dcc2e6f0574cf4950c5d0e2f5d7..58dc5afc0c7b1b0150b0b8d69c6cbd4425563a1e 100644 --- a/bt5/erp5_web_ung_theme/bt/revision +++ b/bt5/erp5_web_ung_theme/bt/revision @@ -1 +1 @@ -302 \ No newline at end of file +303 \ No newline at end of file