OAI-PMH Harvester Error with Omeka 4.0.4

Hello,

I encounter an issue with the module OAI-PMH Harveter version 3.4.0.12. I am currently using Omeka 4.0.4. While harvesting, the module only harvests the first article from the selected set. I am getting this error message:

Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship ‘Omeka\Entity\Resource#owner’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\User@660. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\User#__toString()’ to get a clue. in /var/www/html/omeka-s-last/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:97

The problem does not occur in Omeka v3.

Thanking you in advance for your help

1 Like