Found two visible definitions for `Queries.ticketsByOverview

  • Used Zammad version: 6.5.1-1755262665.ad0b1bd2.bullseye
  • Used Zammad installation type: package
  • Operating system: Debian 11
  • Browser + version: iOS Safari

Get the following error in iOS Safari (but works OK in Safari desktop):

{
“error”: “Found two visible definitions for Queries.ticketsByOverview: #<Gql::Fields::BaseField Queries.ticketsByOverview(…): TicketConnection!>, #<Gql::Fields::BaseField Queries.ticketsByOverview(…): TicketConnection!>”
}

This happens when selecting “Open” tickets, and is accompanied by three red “An error occured during the operation” messages. This worked fine before we updated Zammad (and also updated PHP and Debnian from 10 to 11).

Expected behavior: The llist of open tickets being listed

Actual behavior: Error message and response as described above. Error message returned frmo the graphql endpoint.

Steps to reproduce the behavior: selecting “Open” tickets in iOS Safari (or the “app”).

What’s your production.log when this occurs?

Looks like old files are present in your installation.

Yes, that seems to have been the case. Possibly a side effect of merging in the new version into the old structure. is there a better way to apply an upgrade to avoid this?

I think during a normal update, this should not have happened.