Feature #30428
Cloning of request arguments
| Status: | New | Start date: | 2011-09-29 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assigned To: | - | % Done: | 0% |
|
| Category: | MVC | |||
| Target version: | - | |||
| PHP Version: | Complexity: | |||
| Has patch: |
Description
It should be possible to have two instances of the same entity in a controller action by specifying a "@clone" annotation for a parameter. This is needed if an original object and an updated object need to be passed to the view.
We have / will get identity problems with that of course, but we should find a solution for that.
One use case would be the update of an address with advanced address validation / correction. The user should be able to see a corrected version and a original version of the address if there are any corrections.