Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-1152

error in view-size used for paginate = "false" form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Release Branch 4.0, Trunk
    • framework
    • None

    Description

      If paginate is set to false then wiev-size is never used. Only DEFAULT_PAGE_SIZE is used.

      1/ in init() Modelform wiev-size is getting :
      setDefaultViewSize(formElement.getAttribute("view-size"));
      =>OK

      2/ this value is set to defaultViewSize
      defaultViewSize = sz.intValue();
      => OK

      3/ in getListLimits() Modelform if paginate is false then DEFAULT_PAGE_SIZE is used and not defaultViewSize
      viewSize = DEFAULT_PAGE_SIZE;
      => KO

      Attachments

        1. defaultViewSize.patch
          0.7 kB
          Gaudin Pierre

        Activity

          People

            jleroux Jacques Le Roux
            gpierre Gaudin Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: