[
https://issues.apache.org/jira/browse/MYFACES-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692947#comment-13692947
]
Alexey Shakov commented on MYFACES-3724:
----------------------------------------
To avoid this error, collectionType-attribute must be specified for
<h:selectManyListbox> (e.g. collectionType="java.util.ArrayList"). This
attribute is new since MyFaces 2.x, I didn't know about it. So, the issue can
be closed
> MyFaces 2.x : HtmlSelectManyListbox does not work, if value points
> Hibernate-managed collection (i.e. PersistentBag)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-3724
> URL: https://issues.apache.org/jira/browse/MYFACES-3724
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.1.11
> Reporter: Alexey Shakov
>
> _SharedRendererUtils.getConvertedUISelectManyValue(...) creates an instance
> of PersistentBag at line 268.
> LazyInitializationException comes later in
> UISelectMany._createItemValuesIterator at line 436.
> Works with Myfaces 1.2.12
--
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