Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-10953

Object attribute validation failure causes unwanted date/datetime attribute update

XMLWordPrintable

      Issue Summary

      While editing an object if attribute validation fails, all date/datetime attributes gets updated unnecessarily.

      Steps to Reproduce

      1. Create an Object Type - A
        • Add a couple Date/DateTime attribute for Object Type - A
        • Add a URL type attribute (for validation)
      2. Create an object populating the date/datetime attribute(s) and URL attributes populated
      3. Edit the object and edit the URL attribute in a way that it fails the URL validation (remove the "https://" or "http://" from the URL prefix)
      4. Once the invalid URL error is thrown edit the URL correctly (prefix "https://" or "http://") and save

      Expected Results

      Only the URL attribute update is stored in object history

      Actual Results

      Along with the URL attribute, Date/DateTime attributes are also updated. This affects both Old schema view as well as new object view page.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              828a13f9a5a4 François Dénommée (Inactive)
              smitra2@atlassian.com Suddha
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: