[Erp5-report] r21964 - /erp5/trunk/products/ERP5Form/SelectionTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 26 14:21:07 CEST 2008


Author: vincent
Date: Thu Jun 26 14:20:58 2008
New Revision: 21964

URL: http://svn.erp5.org?rev=21964&view=rev
Log:
Add deprecation comments on a broken method and its (working but most likely unused) counterpart.

Modified:
    erp5/trunk/products/ERP5Form/SelectionTool.py

Modified: erp5/trunk/products/ERP5Form/SelectionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/SelectionTool.py?rev=21964&r1=21963&r2=21964&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/SelectionTool.py (original)
+++ erp5/trunk/products/ERP5Form/SelectionTool.py Thu Jun 26 14:20:58 2008
@@ -629,6 +629,9 @@
     def firstPage(self, list_selection_name, listbox_uid, uids=None, REQUEST=None):
       """
         Access the first page of a list
+        XXX: As its complementary (lastPage) is broken, this method is
+        probably not used either. If so, it should be removed along with
+        lastPage.
       """
       if uids is None: uids = []
       selection = self.getSelectionFor(list_selection_name, REQUEST)
@@ -640,6 +643,9 @@
     def lastPage(self, list_selection_name, listbox_uid, uids=None, REQUEST=None):
       """
         Access the last page of a list
+        XXX: This method is broken, since "total_size" field is not
+        present in the listbox rendering any longer. It should be
+        removed.
       """
       if uids is None: uids = []
       selection = self.getSelectionFor(list_selection_name, REQUEST)




More information about the Erp5-report mailing list