Feature #29578

You should be able to pass entities that have not yet been persisted as uri arguments

Added by Andreas Förthner almost 4 years ago. Updated over 3 years ago.

Status:Resolved Start date:2011-09-08
Priority:Should have Due date:
Assigned To:Andreas Förthner % Done:

100%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.1 beta 1
PHP Version: Complexity:
Has patch:No

Description

This can be achieved by storing these entities in session scope until they get persisted.

Associated revisions

Revision 10a0ad65
Added by Robert Lemke over 3 years ago

[FEATURE] Persistence Manager knows about unmanaged, new objects

This patch enhances the persistence aspect and the related code in the
Persistence Manager so that getObjectByIdentifier() also returns those
objects which have been created but not yet added to any repository.

That allows, among other things, to render URIs pointing to not yet
persisted objects which have been carried around in a session container.

Resolves: #29578
Releases: 1.1
Change-Id: I5cb5f497b475600dc0faa448600bdd7af8927e7a

History

#1 Updated by Mr. Hudson almost 4 years ago

  • Status changed from New to Under Review

Patch set 9 of change I7e8ae6867309ced25aead72ac764c834e22e9adc has been pushed to the review server.
It is available at http://review.typo3.org/2273

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Target version changed from 1230 to 1.1

#3 Updated by Mr. Hudson over 3 years ago

Patch set 1 of change I5cb5f497b475600dc0faa448600bdd7af8927e7a has been pushed to the review server.
It is available at http://review.typo3.org/6547

#4 Updated by Mr. Hudson over 3 years ago

Patch set 2 of change I5cb5f497b475600dc0faa448600bdd7af8927e7a has been pushed to the review server.
It is available at http://review.typo3.org/6547

#5 Updated by Mr. Hudson over 3 years ago

Patch set 3 of change I5cb5f497b475600dc0faa448600bdd7af8927e7a has been pushed to the review server.
It is available at http://review.typo3.org/6547

#6 Updated by Robert Lemke over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#7 Updated by Christopher Hlubek over 3 years ago

  • Has patch set to No

There is a bug in the current implementation that does not reset new objects on clearState. This causes a lot of functional persistence tests to fail. I'll push a bugfix for that.

#8 Updated by Karsten Dambekalns over 3 years ago

  • Target version changed from 1.1 to 1.1 beta 1

Also available in: Atom PDF