Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23188

Basic auth authentication does not allow files to be attached in 4.2

      From the customer support case

      When using os_authType=basic to login to JIRA 4.2 a user is able to upload an attachment as a temporary file, but is unable to attach the temporary file to the issue. We noticed the exact same behavior [...] had worked with JIRA 4.1.2.

      The Atlassian support people have confirmed this as a bug in 4.2. I suspect at this stage its perhaps related to SER-154.

      To re-create :

      • Restart your browser each time (basic auth creds are cached by the browser
      • Goto jira with ?os_authType=basic to cause a basic auth challenge
      • Click Create Issue
      • Attach a file
      • See the error "Temporary attachment with id '8,995,549,407,744,639,063' not found. Session may have timed out before submitting the form."

      It appears the "Attach Files" on view issue is also broken. I managed to get one to work and then a second to fail. I am still investigating this aspect.

            [JRASERVER-23188] Basic auth authentication does not allow files to be attached in 4.2

            Bugfix Automation Bot made changes -
            Minimum Version New: 4.02
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2835539 ] New: JAC Bug Workflow v3 [ 2925273 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2562037 ] New: JAC Bug Workflow v2 [ 2835539 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1527712 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2562037 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: security New: affects-server security
            Oswaldo Hernandez (Inactive) made changes -
            Component/s Original: Security [Deprecated] [ 11831 ]
            Labels New: security
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 671204 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1527712 ]

            sap added a comment -

            Hi,

            i see the same on Jira 6.2.2.Is this related to the session timeout

            sap added a comment - Hi, i see the same on Jira 6.2.2.Is this related to the session timeout
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 657560 ] New: JIRA Bug Workflow w Kanban v6 [ 671204 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 270764 ] New: JIRA Bug Workflow w Kanban v6 [ 657560 ]

              pleschev Peter Leschev
              bbaker ɹǝʞɐq pɐɹq
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: