Bug #2277

When adding the same element more than one time to the repository only the first is created

Added by Christoph Blömer over 6 years ago. Updated about 4 years ago.

Status:Resolved Start date:2008-12-05
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:FLOW3 Persistence
Target version:-

Description

The Blog has tags which can be added to more than one post. After rev 1566 this is not possible anymore.

Example:
$tag1 = $this->objectFactory->create('F3::Blog::Domain::Tag');
$tag1->setName('Development');

$post1 = $this->objectFactory->create('F3::Blog::Domain::Post');
$post1->addTag($tag1);

$post2 = $this->objectFactory->create('F3::Blog::Domain::Post');
$post2->addTag($tag1);

The tag is not added to the second post. Also no Exception is shown.

Associated revisions

Revision 7a138a32
Added by Karsten Dambekalns over 6 years ago

TYPO3CR:
  • reworked storage of value objects in FLOW3 persistence backend, fixes #2277

History

#1 Updated by Karsten Dambekalns over 6 years ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Must have
  • Target version set to 197

#2 Updated by Karsten Dambekalns over 6 years ago

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

Applied in changeset r1739.

#3 Updated by Robert Lemke about 4 years ago

  • Target version deleted (197)

Also available in: Atom PDF