Uploaded image for project: 'Atlassian Translations'
  1. Atlassian Translations
  2. TRANS-2623

InProduct Translation v1.2.0 causes t.widget.extend is not a function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Last commented by user?:
      true

      Description

      Same issue and workaround as described in https://community.atlassian.com/t5/Marketplace-Apps-questions/New-Release-causes-JIRA-Exception-Uncaught-TypeError-t-widget/qaq-p/1046688 when using InProduct translation for Jira v1.2.0

      However, differently, from "view boards" as described in Community, the issue was noticed when in Project Settings >> Versions as view just loads and never completes.

      The following gets thrown in Web Browser's console:

      Uncaught TypeError: t.widget.extend is not a function
          at t.<computed>.<computed>._createWidget (batch.js?locale=en-US:970)
          at new t.<computed>.<computed> (batch.js?locale=en-US:970)
          at HTMLTableSectionElement.<anonymous> (batch.js?locale=en-US:970)
          at Function.each (batch.js?locale=en-US:54)
          at c.fn.init.each (batch.js?locale=en-US:54)
          at c.fn.init.t.fn.<computed> [as sortable] (batch.js?locale=en-US:970)
          at d.makeSortable (com.atlassian.jira.jira-projects-plugin:release-page-assets.js?locale=en-US:39)
          at d.onRender (com.atlassian.jira.jira-projects-plugin:release-page-assets.js?locale=en-US:39)
          at d.triggerMethod (batch.js?agile_global_admin_condition=true&healthcheck-resources=true&jag=true&jaguser=true&jmbonb=1&locale=en-US:2991)
          at d.render (batch.js?agile_global_admin_condition=true&healthcheck-resources=true&jag=true&jaguser=true&jmbonb=1&locale=en-US:3012)
      

      As the Community suggested, disabling Javascript allowed Project Settings >> Versions to be displayed, however, this is not a valid workaround are because you can no longer translate anything on the boards.

      For the time being Jira's REST API endpoint is being consumed:

      curl -k -u {username} \
           -H 'Content-type: application/json' \
           -H 'Accept: application/json' \
           -X GET http://localhost:8080/rest/api/2/project/{projectIdOrKey}/versions
      

        Attachments

          Activity

            People

            • Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Last commented:
                2 weeks, 4 days ago