Tapestry
  1. Tapestry
  2. TAPESTRY-1036

AutoCompleter primary key handling problem

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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...

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567830 ] jira [ 12590959 ]
        Mark Thomas made changes -
        Workflow jira [ 12377122 ] Default workflow, editable Closed status [ 12567830 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.1 [ 12312021 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Assignee Jesse Kuhnert [ jkuhnert ]
        Norbert Sándor created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development