[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:01:28 EST 2014
George Gastaldi created FORGE-1571:
--------------------------------------
Summary: 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
Fix For: 2.x Future
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#L214 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