[ http://issues.apache.org/jira/browse/TAPESTRY-658?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-658:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed
      Assign To: Howard M. Lewis Ship

> LabeledPropertySelectionModel throws NPE on null value
> ------------------------------------------------------
>
>          Key: TAPESTRY-658
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-658
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Leonardo Quijano Vincenzi
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0
>  Attachments: LabeledPropertySelectionModel.patch, 
> TestLabeledPropertySelectionModel.patch
>
> Seems like LabeledPropertySelectionModel is throwing a NPE when the 
> underlying IPropertySelectionModel returns a null value (or when specified a 
> null value in the constructor):
>                /**
>               * @see 
> org.apache.tapestry.form.IPropertySelectionModel#translateValue(java.lang.String)
>               */
>               public Object translateValue(String value)
>               {
>                       return value.equals(_value) ? _option : 
> _model.translateValue(value);
>               }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to