Bug #4170

Form Viewhelper creates hidden identity field even for new objects

Added by Robert Lemke almost 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
ViewHelpers
Target version:
Start date:
2009-08-06
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

Every entity has a uuid, no matter if it's new, reconstituted or clone of a reconstituted object.

Earlier the form view helper only rendered the hidden identity field for objects which were not new. However that stood in the way for implementing the new edit mechanism which should expects that the identity of a clone is also render, although a clone is "new".

We need a check which assures that the identity field is render for objects being new and clone but nor for object being new and not a clone.

#1

Updated by Robert Lemke almost 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2991.

Also available in: Atom PDF