-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to use dynamic fields with ElasticSearch #2334
Comments
wetzf
added a commit
to wetzf/otobo
that referenced
this issue
Jun 7, 2023
svenoe
pushed a commit
that referenced
this issue
Jun 12, 2023
Thanks, pr is merged. :) |
svenoe
pushed a commit
that referenced
this issue
Jun 12, 2023
Added for rel-10_0; Tidied; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello OTOBO Team,
I want to search for dynamic field values via elastic search. To get there, I added a new dynamic field of type 'text' to 'Elasticsearch::TicketSearchFields'. I added the correspondig update event to 'TicketManagement' in the Webservice 'ElasticSearch'.
For newly created tickets I was not able to search for values in this dynamic field.
With the Webservice debugger I found out, that the value is initially set by the event 'TicketCreate' but is immediately reset to 'undef' by the DynamicFieldUpdate event.
TicketCreate:
TicketDynamicFieldUpdate_Suchtest:
Turns out there is a typo in Kernel/GenericInterface/Invoker/Elasticsearch/TicketManagement.pm. This should be 'DynamicFields', with 's'.
After I changed that, the search worked for me. I will create a pull request for this.
Kind regads
The text was updated successfully, but these errors were encountered: