« Previous | Next » 

Revision defa41b2

Parent f97149f6
Child 21a3637a

Added by Bastian Waidelich almost 7 years ago

[BUGFIX] Preselect active options in property bound Select ViewHelper

Resolution of FLOW-213 introduced a regression that in some cases
prevents the ``SelectViewHelper`` from pre-selecting property-bound

The change I80e7e664e7a1fa41dc36bdf89e331086c6815f78 deprecated the
method ``AbstractFormFieldViewHelper::getValue()`` in favor of a newly
introduced method ``getValueAttribute()``. That method always converts
object values using the PersistenceManager. In case the object is not
known to the PersistenceManager it thus returns ``NULL`` leading to the
above issue when using the SelectViewHelper in "objectAccessorMode" with
the ``multiple`` argument.

Change-Id: Ia491b66df17f5d27f98f5433e1a83e14a056e0e4
Related: FLOW-213
Releases: master, 3.0

  • added
  • modified
  • copied
  • renamed
  • deleted