Keyboard Shortcut Not Working Only In Issue View page

XMLWordPrintable

    • 7.02
    • 4
    • Severity 3 - Minor
    • 0

      Summary

      Keyboard Shortcut for (g+g) and (.) will not work while in Issue View page when Inline Edit is disabled.

      Environment

      • JIRA 7.2+
      • Inline Edit is disabled in General Configuration
      • On the Issue View page

      Steps to Reproduce

      1. Disable Inline Edit
      2. Got any issue
      3. Use the shortcut of (.) or (g+g)

      Expected Results

      The shortcut open nicely on the top, listing possible actions

      Actual Results

      The below exception is thrown in the "console" tab

      batch.js:44441 Uncaught TypeError: issueEditor.getFields is not a function
          at http://localhost:55169/jira727/s/fb3b4413b51668520bf2e8b5866400e6-CDN/fne3b…&sd-kb-panel-enabled=true&sd_operational=true&user-logged-in=true:44441:38
          at http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:68350:28
          at Array.map (native)
          at Function.__a031d58c3f1f5e55c1185228c15dd976._.map._.collect (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:42831:62)
          at _.(anonymous function) [as map] (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:43857:49)
          at Class.show (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:68349:18)
          at KeyboardShortcut.eval (eval at _executer (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:79126:24), <anonymous>:2:14)
          at KeyboardShortcut._executer (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:79128:18)
          at HTMLDocument.<anonymous> (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:78918:22)
          at HTMLDocument.keypress (http://localhost:55169/jira727/s/075e6c2b48a5b49a623b580ecbf88228-CDN/fne3b…/_super/batch.js?atlassian.aui.raphael.disabled=true&locale=en-US:78833:37)
      

      Cause

      Issue component resolver can serve one of two issue component implementation. There's no 'getFields' function in one of them (IssueViewer). Everything should work if InlineEditParameters is enabled. See below:

      Workaround

      Enable "Inline Edit" in General Configuration

            Assignee:
            Unassigned
            Reporter:
            Zul NS [Atlassian] (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: