Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1036

AutoCompleter primary key handling problem

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None

      Description

      In Autocompleter.rewindFormWidget() there is

      String value = cycle.getParameter(getName());

      Object object = getModel().getValue(value);

      which means that always a String is passed to IAutocompleteModel.getValue(), regardless of what type of primary keys were returned by IAutocompleteModel.filterValues().
      Because of this bug Autocompleter works only with String primary keys...

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              snorbi Norbert Sándor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: