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

Jira should not create a ticket when error happens during issue creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.11.2
    • Issue - Fields

    Description

      Issue Summary

      When copying content from other terminals to the Jira field during issue creation in MAC, due to the special characters present in the terminals, these characters will get copied over into the Jira field. The Jira issue will get created without the workflow transition buttons.

      Steps to Reproduce

      Copy content from other terminals to the Jira field during issue creation.

      Expected Results

      The issue failed to create.

      Actual Results

      The issue still gets created with the "error creating issue" message in the log. The issue created is also missing the workflow transition button.

      The below exception is thrown in the xxxxxxx.log file:

      2019-10-30 14:26:09,099 http-nio-8080-exec-385 ERROR demerson.zounar 866x3890868x2 1s50dn8 37.235.116.66,10.150.20.37 /secure/QuickCreateIssue.jspa [c.a.j.bc.issue.DefaultIssueService] Error creating issue:
      com.atlassian.jira.exception.CreateException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,12661][issue,636918][stringvalue,20170830.301\x00][id,18972774][updated,1572445569098] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, UPDATED, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: invalid byte sequence for encoding "UTF8": 0x00))
      

      Environment

      Postgresql Database
      Mac machine

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sluo@atlassian.com Sasa Luo (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: