Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2689

Cached SortedColumnId causing UnknownValueException with Dynamci columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.8.0
    • tapestry-core
    • None

    Description

      Tapestry crashes with an UnknownValueException if a Grid is sorted by a column not existing in the PropertyModel of the Grid anymore. 

      This can happen if the columns of the grid are dynamic and can change at runtime (e.g. using the component paramter "include" and include columns based on further conditions).

      A check prior getting the sort constraints of the sort model could prevent this issue.

      Attachments

        Issue Links

          Activity

            People

              thiagohp Thiago Henrique De Paula Figueiredo
              mistertool1988 Benjamin Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m