You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system (if you're unsure: cat /etc/os-release ): any
Database + version: any
Elasticsearch version: any
Browser + version: any
Actual behaviour
If I execute run rake zammad:searchindex:rebuild, I get the following warnings in log/production.log
W, [2023-10-17T09:10:19.669317#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.671097#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.672431#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.890057#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.891493#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.892759#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:19.894092#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:20.837973#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:20.839949#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:20.903117#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2023-10-17T09:10:21.121303#4012-6120] WARN -- : Scoped order is ignored, it's forced to be batch order.
Expected behaviour
execute run rake zammad:searchindex:rebuild without warnings
Steps to reproduce the behaviour
Execute run rake zammad:searchindex:rebuild and have a look into log/production.log
Used Zammad Version
6.1
Environment
cat /etc/os-release
): anyActual behaviour
If I execute
run rake zammad:searchindex:rebuild
, I get the following warnings inlog/production.log
Expected behaviour
execute
run rake zammad:searchindex:rebuild
without warningsSteps to reproduce the behaviour
Execute
run rake zammad:searchindex:rebuild
and have a look intolog/production.log
It is because here https://github.com/zammad/zammad/blob/develop/app/models/concerns/has_search_index_backend.rb#L187
in_batches
is used which will not work withorder
orreorder
.IMO we need to replace
in_batches
here.Support Ticket
No response
I'm sure this is a bug and no feature request or a general question.
yes
The text was updated successfully, but these errors were encountered: