NPE in SelectModelRenderer when Palette used with mismatched values and model
-----------------------------------------------------------------------------
Key: TAPESTRY-2711
URL: https://issues.apache.org/jira/browse/TAPESTRY-2711
Project: Tapestry
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.0.15
Reporter: Dan Adams
Create a model with A,B as the available options and set the palette value
parameter to a list with C. You will get a NPE here:
org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:49)
org.apache.tapestry5.corelib.components.Palette$SelectedRenderer.render(Palette.java:147)
because valueToOptionModel in Palette doesn't contain a mapping for C.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]