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/...
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