[Flow] Could not merge object error?

Bastian Waidelich bastian at typo3.org
Fri Sep 27 11:59:18 CEST 2013


François Suter wrote:

Hi,

> I have a process where I import data from files into a Flow database
> which now fails with the following error:
>
> Could not merge object of type
> "Cobweb\Monitoring\Domain\Model\Monitoring" [1297778180]
>
> I can't find any further information. What is this error supposed to
> mean? Where should I start looking?


The exception itself is not very helpful indeed, but it should contain a 
nested exception with further details.
A good thing with the unique exception codes is that you can find the 
affected code in Flow really easily. In this case it's in 
Doctrine\PersistenceManager::update():

try {
	$this->entityManager->persist($object);
} catch (\Exception $exception) {
	throw new \TYPO3\Flow\Persistence\Exception('Could not merge object of 
type "' . get_class($object) . '"', 1297778180, $exception);
}

Just check your exception logs (in Data/Logs/Exceptions by default) or 
debug that part.


HTH

-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the Flow mailing list