Bug #3485

Non-persistable properties of an entity which are not marked as transient cause a fatal error

Added by Robert Lemke about 10 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
FLOW3 Persistence
Target version:
-
Start date:
2009-05-27
Due date:
% Done:

100%


Description

This entity ...

/**
 * @entity
 * @scope prototype
 */
class Release {

    /**
     * @var string
     */
    protected $versionNumber;

    /**
     * @inject
     * @var \F3\FLOW3\Object\FactoryInterface
     */
    protected $objectFactory;

... causes a fatal error during persisting time:

Fatal error: Call to undefined method F3\FLOW3\Object\Factory::FLOW3_AOP_Proxy_getProxyTargetClassName() in /Users/Shared/Sites/dev/flow3/dist/Packages/Global/TYPO3CR/Classes/FLOW3/Persistence/Backend.php on line 359

because the Object Factory is not marked as @transient

Associated revisions

Revision d4b8d0cf (diff)
Added by Karsten Dambekalns about 10 years ago

[FIX] TYPO3CR (FLOW3 Persistence): ´╗┐non-persistable properties of an entity which are not marked as transient no longer cause a fatal error but are skipped, fixes #3485

History

#1 Updated by Robert Lemke about 10 years ago

  • Priority changed from Must have to Should have
  • Target version changed from 283 to 1.0 alpha 2

#2 Updated by Karsten Dambekalns about 10 years ago

  • Status changed from New to Accepted

#3 Updated by Karsten Dambekalns about 10 years ago

  • Project changed from TYPO3.Flow to TYPO3.TYPO3CR
  • Category deleted (Persistence)
  • Target version deleted (1.0 alpha 2)

#4 Updated by Karsten Dambekalns about 10 years ago

  • Category set to FLOW3 Persistence
  • Target version set to 197

#5 Updated by Karsten Dambekalns about 10 years ago

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

Applied in changeset r2572.

#6 Updated by Robert Lemke about 8 years ago

  • Target version deleted (197)

Also available in: Atom PDF