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

AutoCompleter primary key handling problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.1
    • Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: