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

ON server validation setForm does not work s expected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.11
    • Component/s: Behaviours
    • Labels:
      None
    • Critical Points:
      0

      Description

      Steps to reproduce

      1. Attach the following behaviour to TextFieldA

      def desc = getFieldById(IssueFieldConstants.DESCRIPTION)
      def formField = getFieldByName("TextFieldA")
      
      desc.setFormValue(formField.value)
      

      Now every time you write something to TextFieldA, the behaviour copies the value to the description, everything works as expected.

      2. Create an issue and navigate to the issue view page for that issue
      3. Click create, so now in the background there is the issue view page in in the foreground the create new issue form
      4. Now submit the issue without summary (in order to force a server side validation failure)
      5. write something to TextFieldA, the description is not getting updated, as someone would expect.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tbatagiannis Thanos Batagiannis
              Reporter:
              tbatagiannis Thanos Batagiannis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: