EZP-27299: search index not updated if obje…#1293
EZP-27299: search index not updated if obje…#1293bernhard-roessler wants to merge 3 commits intoezsystems:masterfrom
Conversation
…ct is hidden by cronjob
|
Any reason why the standard hide operation would not work in this scenario? Maybe there is a bug somewhere to be fixed instead of adding this workaround ? |
|
What do you mean with "standard hide operation"? |
…ct is hidden by cronjob
|
maybe @gggeek is talking about this one? https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/classes/ezcontentobjecttreenode.php#L5983 |
…ct is hidden by cronjob
|
And this is the problem with (missing) layers in legacy.. For the most part use of eZSearch is done outside of persistence classes, like for instance in operations classes: https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/content/ezcontentoperationcollection.php#L1011 |
|
I agree. The search index update should happen in https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/content/ezcontentoperationcollection.php. Bernhard, would the |
Ticket: https://jira.ez.no/browse/EZP-27299
Search index is not updated if a object is hidden by the cronjob (hide.php).