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

New "secure" flag in Select component has a bug when using option groups

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-core
    • None

    Description

      Version 5.4 alpha 25

      Component: Select

      Method: org.apache.tapestry5.corelib.components.Select.findValueInModel

      When checking for exististence of selected value on submit, there is a bug when checking in option groups: the string representation is used to compare with objects ("asSubmitted" should be used but "submittedValue" is used)

      This bug was introduced with: TAP5-2179

      workaround: disable security check for select component.

      Attachments

        1. OptionGroup.zip
          6 kB
          Julien POLLY

        Activity

          People

            frafac François Facon
            felixgonschorek Felix Gonschorek
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: