[BUGFIX] Fix support for "value" argument on the form.upload ViewHelper
When specifying the ``value`` argument on the ``form.upload`` ViewHelper
the generated hidden field was named something like::
since the adjustments to the new Resource Management (see
This change fixes the name to exclude the first "__identity". Besides it
fixes the behavior when specifying a "default resource" using the
- If a form is re-displayed due to validation errors, any originally
transmitted resource will survive the re-submission.
- Otherwise, if a resource (or its identifier) is specified as "value"
argument, that resource will be used by default
- Finally, when in "object accessor mode", the value of the bound
property will be used as fallback.
Any newly uploaded file will of course overrule the hidden field as
Releases: master, 3.0