[Flow] Remove does not remove

Axel Wüstemann awu at qbus.de
Fri Nov 1 10:18:16 CET 2013


I do it within a regulary deleteAction, so by my mind this is not a save 
request methode, or?

How to invoke the persistanceManager:

/**
  * @Flow\Inject
  * @var \TYPO3\Flow\Persistence\PersistenceManagerInterface
*/
protected $persistenceManager;

or

/**
  * @Flow\Inject
  * @var \TYPO3\Flow\Persistence\Doctrine\PersistenceManager
*/
protected $persistenceManager;

Axel

Am 31.10.2013 13:39, schrieb Bastian Waidelich:
> Axel Wüstemann wrote:
>
> Hi Axel,
>
>> repository->remove() does nothing, no error, simply nothing. I'm
>> wondering how I could track this. I tried to digger into the framework
>> to set some var_dump or the like, but in the doctrine layer I lost the
>> orientation.
>
> See [1] for a possible reason and [2] for an attempt to make this less
> confusion for the developer.
>
>
> [1]
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartIII/Persistence.html#safe-request-methods-are-read-only
>
>
> [2] http://forge.typo3.org/issues/51570
>
>



More information about the Flow mailing list