« Previous | Next » 

Revision feb6c41f

IDfeb6c41fc041de09e4b5f046c00feb6bc260e720

Added by Sebastian Kurfuerst over 10 years ago

[+BUGFIX] (ViewHelpers): Error displaying in ViewHelpers should work for all values.

That's why the data needs to be fetched from the original
request in getValue(), and not in getPropertyValue() -- which
is only called if we are in Object Accessor Mode, and a formObject
has been passed -- which in turn is only the case when editing
an object, and not when creating one.

You can verify this in the Blog, try to add a comment with a wrong
email address. Without the patch, the form is empty after submission,
with the patch, it correctly contains the old values.

Change-Id: I8c700dace965e5ed435a38e68928628fc07a49d1

  • added
  • modified
  • copied
  • renamed
  • deleted