Closed cbleek closed 7 years ago
No, the solr module registers a doctrine preUpdate hook to track entities to add to the index. That is, because in the normal Yawik workflow, a job CANNOT be INSERTED with the status "active".
There are two possibilities to solve this:
The latter is preferable.
@fedys do you can add the "preInsert" hook in the Solr module?
Yes, I can do that. I can take a look at it on Thursday morning.
super!
This will be done in https://github.com/yawik/Solr/issues/10
@TiSiE the simple import currently does not put jobs into the solr index. Maybe it's because there is no job event triggered as we do when activate a job?
https://github.com/cross-solution/YAWIK/blob/efca22b0a7017b8e8cc60490340dbb47d8047c45/module/Jobs/src/Jobs/Controller/ManageController.php#L586