Skip to content

[Bug] Jira shows JS error when TST generates hover preview images #3721

Open
@daves003

Description

@daves003

Abstract

When opening a Jira Board in the current Tab and moving the mouse cursor over TST, Jira shows a JavaScript error.
I'm unsure if this is related to Jira itself or some plugins as I can only test the Jira Installation of my employer.

Steps to reproduce

  • Open a Jira Board in the Kanban or Issues View. (Must be a Board, Trackers do not work)
  • Make sure the option "Show tab preview image on tab hover, instead of legacy tooltip" is enables in TST
  • Move the cursor from the web page to TST

Expected result

No errors

Actual result

Jira shows a popup with errors. JS errors are printed to the console.

Image

Image

The mentioned line 630 from the first error message looks like this:

"use strict";g.ATTR_IGNORE="data-skate-ignore";g.types={ANY:"act",ATTR:"a",CLASS:"c",NOATTR:"ct",NOCLASS:"at",NOTAG:"ac",TAG:"t"}},{}],2:[function(a,h,g){h.exports={get:function(a,b){if(a.__SKATE_DATA)return a.__SKATE_DATA[b]},set:function(a,b,f){a.__SKATE_DATA||(a.__SKATE_DATA={});a.__SKATE_DATA[b]=f;return a}}},{}],3:[function(a,h,g){function r(a){for(var f=a.length,b=0;b<f;b++){var d=a[b],k=d.addedNodes;d=d.removedNodes;k&&k.length&&!v(k[0].parentNode)&&l(k);d&&d.length&&c(d)}}g=function(a){return a&&

It seems to be related to a plugin: com.atlassian.plugin.jslibs:skate-0.12.6

Environment

  • Platform (OS): Ubuntu 22.04
  • Version of Firefox: 136.0.4 (64-bit)
  • Version (or revision) of Tree Style Tab: 4.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions