https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42540

            Bug ID: 42540
           Summary: Trap and throw elastic too_many_clauses errors instead
                    of just dying
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

This started out as an issue with Connexion gateway, but it's not actually
directly related.

The issue is that during import, a record may contain so many fields to match
on that it exceeds the max clauses an es server is configured for. In this case
Koha 500's and connex emits the generic "Unsuccessful request" error.

It seems the best patch forward would be to trap this error and propagate it as
a Koha Exception, rather than simply die. There may be other elastic errors we
could add to this pattern but I've not encountered any others so far.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to