« Previous | Next » 

Revision 630992b7


Added by Bastian Waidelich over 9 years ago

[BUGFIX] Only render hidden upload fields if a resource is available

The UploadViewHelper always creates hidden fields for filename and
resource pointer so that previously uploaded files are not lost
if validation errors occur.

This change makes sure that those hidden fields are only rendered
if a file has been uploaded before because otherwise the property
mapper tries to create a Resource object and fails with an
exception (see #38184).

Change-Id: Idbcad9b4b4353f4cc6a8af4781e172922ef63c97
Related: #38184
Releases: 1.1, 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted