Select component loses it's value
---------------------------------

                 Key: WICKET-4276
                 URL: https://issues.apache.org/jira/browse/WICKET-4276
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.4.19
            Reporter: Mikk Lauringson


Select component loses selected option and shows the first option in some 
situations (one example is when you try to submit a form, but there are 
validation errors).

It was working fine in 1.4.18, but it's broken in 1.4.19.This must be caused by 
the solution from this issue https://issues.apache.org/jira/browse/WICKET-3962
I think the problem is likely in Select.isSelected method, where String[] paths 
= getInputAsArray() is actually an array of uuid-s, so uuid-s are compared to 
paths.

I haven't tested wicket 1.5, but this problem may also affect 1.5 versions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to