[forge-issues] [JBoss JIRA] (FORGE-1571) Shell UISelect options are set with partial values when auto-completing

George Gastaldi (JIRA) issues at jboss.org
Thu Feb 13 20:27:29 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-1571.
----------------------------------

    Fix Version/s:     (was: 2.x Future)
       Resolution: Cannot Reproduce Bug


Fixed in FORGE-1537
                
> Shell UISelect options are set with partial values when auto-completing
> -----------------------------------------------------------------------
>
>                 Key: FORGE-1571
>                 URL: https://issues.jboss.org/browse/FORGE-1571
>             Project: Forge
>          Issue Type: Feature Request
>          Components: UI - Shell
>    Affects Versions: 2.0.0.Final
>            Reporter: George Gastaldi
>            Priority: Critical
>
>  FORGE-1537 introduced a validation for invalid values in UISelectOne/Many components. However, during auto-completion, the shell implementation attempts to set the partial value (correctly converted to null, because it is not present in the value choices)  
> Eg:
> {code}
> jpa-setup --container JB<TAB>
> {code}
> The validation in https://github.com/forge/core/blob/master/ui/api/src/main/java/org/jboss/forge/addon/ui/util/InputComponents.java#L213 is the culprit. Removing it, the value is correctly set to null, however it breaks FORGE-1537.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list