[FLOW3-general] Error when uploading the same resource
Thomas Plessis
t.plessis at totemnumerique.com
Wed Mar 14 12:10:11 CET 2012
Hi guys,
I've trouble when i'm uploading a resource which already exists. FLOW3 tries to insert a new resource in the DB so i get the following error :
Uncaught exception #23000 in line 131 of /var/www/clients/client20/web50/web/Packages/Framework/Doctrine/Classes/DBAL/Statement
.php: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '67566628a578da40a1f677be3c0c43722245bab0' for key 'PRIMARY' - See also: 201203132230470d38f0.txt [logged in TY
PO3\FLOW3\Log\Logger::logException()]
In my model, the resource relation is configured like that :
/**
* @var \TYPO3\FLOW3\Resource\Resource
* @ORM\ManyToOne(targetEntity="\TYPO3\FLOW3\Resource\Resource")
*/
protected $resource;
Any ideas?
regards,
Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55
More information about the FLOW3-general
mailing list