Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-757

Null constraint violation thrown when importing a Rule Template with default options

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Similar issues:
      KULRICE-7638Error is thrown on rule template lookup from the rule screen when getHasLookupable is called and quickFinderClassNameImpl is an empty string
      KULRICE-2876Remove the ability to default instructions using a rule template
      KULRICE-1277When scheduling email batch jobs with quartz in a cluster, unique constraint violations are occasionally thrown
      KULRICE-961Rule Template Ingestion creates new rows for rule defaults in EN_RULE_TMPL_OPTN_T at each ingestion
      KULRICE-14042Agenda Rule - Copy Rule causes PK violation
      KULRICE-525business rule drop downs should have a blank/null option and default to that
      KULRICE-1207integrity constraint violation when trying to inactivate a workgroup
      KULRICE-4047UIDocumentServiceImpl.getMember() can return null but is not handled
      KULRICE-13928Routing rules with no rule template can't be viewed
      KULRICE-3786RuleMaintenanceActionRequestCodeValuesFinder not handling "null" rule option value appropriately
    • Rice Module:
      KEW

      Description

      When importing a rule template that has default options on it, a null constraint is sometimes thrown when attempting to insert the rule template ID into the EN_RULE_BASE_VAL_T table.

      This is most likely only occurring whenever the template that has been imported has not been imported previously (i.e. the template does not already exist in the database).

      The reason for this is because we save the defaults before we save the template, so the defaults have a null id reference for the template which is causing the exception.

      The solution to this problem is to be sure to save the RuleTemplate before the defaults in the RuleTemplateXmlParser.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eric Westfall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel