diff --git a/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py b/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
index 87342438a8fd1f504de3a21faad20fb39a98acc1..5f76f9642f9bf1137428fdb6dd2d057e7024e7c3 100644
--- a/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
+++ b/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
@@ -355,4 +355,25 @@ class TestUNG(ERP5TypeTestCase):
     self.portal.portal_preferences.ung_preference.enable()
     self.stepTic()
     preference_dict = json.loads(self.portal.Base_getPreferencePathList())
-    self.assertEquals(preference_dict["preference"], "portal_preferences/ung_preference")
\ No newline at end of file
+    self.assertEquals(preference_dict["preference"], "portal_preferences/ung_preference")
+  
+  def testWebSection_getWebPageObjectList(self):
+    """Test if the paths of preference objects are returned correctly"""
+    self.portal.web_page_module.manage_delObjects(list(self.portal.web_page_module.objectIds()))
+    self.stepTic()
+    self.portal.web_page_module.newContent(portal_type="Web Page")
+    self.portal.web_page_module.newContent(portal_type="Web Table")
+    self.portal.web_page_module.newContent(portal_type="Web Illustration")
+    self.stepTic()
+    kw = {"portal_type": "Web Page"}
+    result_list = self.portal.web_site_module.ung.WebSection_getWebPageObjectList(**kw)
+    self.assertEquals(len(result_list), 1)
+    self.assertEquals(result_list[0].getPortalType(), "Web Page")
+    kw["portal_type"] = "Web Illustration"
+    result_list = self.portal.web_site_module.ung.WebSection_getWebPageObjectList(**kw)
+    self.assertEquals(len(result_list), 1)
+    self.assertEquals(result_list[0].getPortalType(), "Web Illustration")
+    kw["portal_type"] = "Web Table"
+    result_list = self.portal.web_site_module.ung.WebSection_getWebPageObjectList(**kw)
+    self.assertEquals(len(result_list), 1)
+    self.assertEquals(result_list[0].getPortalType(), "Web Table")
\ No newline at end of file
diff --git a/bt5/erp5_web_ung_theme/bt/revision b/bt5/erp5_web_ung_theme/bt/revision
index 871cae9aa662ba186a3a1da42301a2cfbbaea7e0..5f1a9f39c27866e19c2665f899cec7d843660ad4 100644
--- a/bt5/erp5_web_ung_theme/bt/revision
+++ b/bt5/erp5_web_ung_theme/bt/revision
@@ -1 +1 @@
-323
\ No newline at end of file
+324
\ No newline at end of file