Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2966

Create issue in new tab fails to create issue if behavior takes too long

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.12
    • Fix Version/s: 5.4.45
    • Component/s: Behaviours
    • Labels:
      None
    • Sprint:
      Sprint 43, Sprint 44
    • Critical Points:
      1

      Description

      When creating an issue in a new tab, if the 'create' button is clicked before a behavior on any field is done, all the information entered on the form is lost, and you're taken back to the create issue screen with the 'Project' and 'Issue Type' fields.

      To reproduce:

      1. Create a behavior for any field with a script which will take a while to execute, simulating a slow behavior, such as: 
        import com.onresolve.jira.groovy.user.FieldBehaviours 
        import groovy.transform.BaseScript 
        @BaseScript FieldBehaviours fieldBehaviours 
        sleep(3000) 

        2. Try to create an issue on a new tab, edit the field with the behavior, and click create before behavior is done.

      While this may seem like expected behavior, this is not the way that create issue behaves when not creating the issue in a new tab. It seems that the issue should either be created anyway, or the user should be prevented from clicking 'create' before the behavior is done.

        Attachments

          Activity

            People

            Assignee:
            ahasan Ashraful Hasan [X] (Inactive)
            Reporter:
            twortham Tiffany Wortham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: