Feature #4328

Throw exception when Repository->update() is called with a non-clone

Added by Karsten Dambekalns almost 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-08-26
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 5
PHP Version: Complexity:
Has patch:

Description

From the FLOW3 IRC channel:
wenn ich zum beispiel einen string ändern will muss ich ja $folder->setTitle(Text) anwenden und dann das repository->update($folder)

This misunderstanding needs to be circumvented, a message should be given.

Associated revisions

Revision ef3edea7
Added by Karsten Dambekalns almost 6 years ago

[+FEATURE] FLOW3 (Persistence): When calling update() with a non-clone an exception is thrown, resolves #4328.

History

#1 Updated by Karsten Dambekalns almost 6 years ago

  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.0 alpha 5

#2 Updated by Karsten Dambekalns almost 6 years ago

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

Applied in changeset r3207.

Also available in: Atom PDF