Skip to content
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

Uncaught TypeError in ticket zoom highlighter #3950

Closed
bolah2009 opened this issue Feb 4, 2022 · 0 comments
Closed

Uncaught TypeError in ticket zoom highlighter #3950

bolah2009 opened this issue Feb 4, 2022 · 0 comments
Assignees
Labels

Comments

@bolah2009
Copy link
Contributor

Infos:

  • Used Zammad version: develop / (5.1)
  • Installation method (source, package, ..): any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: verified on Opera v83 (Chromium based)

Expected behaviour:

No error in the console when ticket zoom highlighter is changed to a different colour

Actual behaviour:

When the highlighter is changed in ticket zoom, an Uncaught TypeError type error shows in the console.

Steps to reproduce the behaviour:

  • Open a ticket zoom

  • Attempt to change the highlighter colour to a different colour
    ticket zoom highlighter

  • The console will output the following error message:

        Uncaught TypeError: Cannot read properties of undefined (reading 'attr')
        at TicketZoomHighlighter.App.TicketZoomHighlighter.TicketZoomHighlighter.toggleHighlightAtSelection (application.js:109180:15)
        at TicketZoomHighlighter.toggleHighlightAtSelection (application.js:108933:61)
        at TicketZoomHighlighter.App.TicketZoomHighlighter.TicketZoomHighlighter.pickColor (application.js:109134:19)
        at TicketZoomHighlighter.pickColor (application.js:108933:61)
        at HTMLAnchorElement.<anonymous> (application.js:20352:31)
        at HTMLDivElement.dispatch (application.js:5431:27)
        at HTMLDivElement.elemData.handle (application.js:5235:28)
    

Yes I'm sure this is a bug and no feature request or a general question.

@bolah2009 bolah2009 self-assigned this Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant