Wicket
  1. Wicket
  2. WICKET-1175

IDataProvider-Overflow with size()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-rc1
    • Fix Version/s: 6.0.0-beta1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      any

      Description

      Hi,

      I get an Integer-overflow with my Dataprovider (yeah, there are a couple of entries in the database). Is there a reason why size() and iterator( first, count ) are limited to Integer?

      Regards, — Jan.

        Activity

        Jan Kriesten created issue -
        Johan Compagner made changes -
        Field Original Value New Value
        Assignee Igor Vaynberg [ ivaynberg ]
        Johan Compagner made changes -
        Fix Version/s 1.4.0-alpha [ 12312523 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-M1 [ 12312523 ]
        Fix Version/s 1.4-M2 [ 12312911 ]
        Gerolf Seitz made changes -
        Fix Version/s 1.4-M2 [ 12312911 ]
        Fix Version/s 1.5-M1 [ 12313078 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M2 [ 12315237 ]
        Fix Version/s 1.5-M1 [ 12313078 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M3 [ 12315329 ]
        Fix Version/s 1.5-M2 [ 12315237 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.6.0 [ 12315431 ]
        Fix Version/s 1.5-M3 [ 12315329 ]
        Igor Vaynberg made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emond Papegaaij made changes -
        Attachment 0001-Loop-should-not-use-long.patch [ 12505089 ]
        Emond Papegaaij made changes -
        Attachment 0001-Loop-should-not-use-long.patch [ 12505089 ]
        Emond Papegaaij made changes -
        Attachment 0001-Loop-should-not-use-long.patch [ 12505310 ]
        Martin Grigorov made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Igor Vaynberg made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Igor Vaynberg made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Igor Vaynberg made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        vineet semwal made changes -
        Comment [ any cast/conversion from long to int is broken when long value >Integer.Max ,however this isnt wicket fault ,this is jpa/hibernate fault ..if it is even a fault in real world .. ]

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Jan Kriesten
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development