Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1766

Method size() of a data provider is invoked twice.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.3.4
    • None
    • wicket
    • None
    • Ubuntu

    Description

      Method size() of a data provider is invoked twice during one request. This happens when navigating to a next or latest page in a data table. During debugging I noticed that the onDetach() of AbstractPageableView is invoked an extra time. Implementations of size() normally query the database so it will slow down the performance.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            rik Rik van der Kleij
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: