org.ofbiz.core.entity.GenericEntityException

XMLWordPrintable

    • Type: Bug
    • Resolution: Handled by Support
    • Priority: Medium
    • None
    • Affects Version/s: 3.11
    • Component/s: None
    • Environment:
    • 3.11

      Hi,

      I have recently upgraded from Jira 3.6.2 to 3.11 Enterprise edition (Standalone).

      A new DB was created with appropriate user permissions etc.
      I backed up the the issues (XML).
      I backed up Custom plugins and JTDS.
      Edited server.xml and entityengine.xml.

      I have the instance of JIRA working fine except when a user tries to create an issue in one particular project, and enters data in one custom field we get:

      Errors

      • org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,16668][datevalue,2007-11-14 00:00:00.0][issue,12298][parentkey,null][customfield,10002] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Violation of PRIMARY KEY constraint 'PK_customfieldvalue'. Cannot insert duplicate key in object 'customfieldvalue'.))

      Attached is my log file.

      Thanks,

      Seán

        1. atlassian-jira.zip
          217 kB
          Seán MacDomhnaill

            Assignee:
            Zhen Yueh, Lean [Atlassian]
            Reporter:
            Seán MacDomhnaill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: