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

The ruleInstructions element must be defined on the ruleDefaults for Rule Template XML

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Similar issues:
      KULRICE-834When defining rule XML, the ruleTemplate element in ruleExtension is redundant
      KULRICE-1158Rule Search oddities (for some attributes rule extension value data must be entered to search correctly) require refactoring potentially using OddSearchAttribute class
      KULRICE-1759Backport fix for active/inactive rule attributes on rule templates to 0.9.1.3
      KULRICE-1130improve performance of xml ingestion
      KULRICE-2984Remove ruleInstructions from the RuleTemplate defaults
      KULRICE-3279The XPathQualifierResolver Rule Attribute ingestion is broken and not ingesting the configuration section of the xml
      KULRICE-9287KualiLookupableTest fails in CI with Lookup not defined for business object class org.kuali.rice.krad.test.document.bo.Account
      KULRICE-5715Implement caching of legacy KEW rules on the RuleService by "doc type + rule template"
      KULRICE-13928Routing rules with no rule template can't be viewed
      KULRICE-6370Rice Dev: Rule Template bombs to error on Click
    • Rice Module:
      KEW

      Description

      Even if the initial instructions are empty, they still need to be defined as follows:

      <ruleTemplate allowOverwrite="true">
      <name>KualiAccountsPayableTemplate</name>
      <description>Kuali Accounts Payable Review</description>
      <attributes>
      <attribute>
      <name>KualiAccountsPayableReviewRoleAttribute</name>
      <required>true</required>
      </attribute>
      </attributes>
      <ruleDefaults>
      <ruleInstructions/>
      <description>Rule for routing Purchasing & Accounts Payable
      documents to Accounts Payable Review.</description>
      <fromDate>07/01/2006</fromDate>
      <toDate>01/01/2100</toDate>
      <ignorePrevious>true</ignorePrevious>
      <active>true</active>
      <defaultActionRequested>C</defaultActionRequested>
      </ruleDefaults>
      </ruleTemplate>

      Instead of allowing for this:

      <ruleTemplate allowOverwrite="true">
      <name>KualiAccountsPayableTemplate</name>
      <description>Kuali Accounts Payable Review</description>
      <attributes>
      <attribute>
      <name>KualiAccountsPayableReviewRoleAttribute</name>
      <required>true</required>
      </attribute>
      </attributes>
      <ruleDefaults>
      <description>Rule for routing Purchasing & Accounts Payable
      documents to Accounts Payable Review.</description>
      <fromDate>07/01/2006</fromDate>
      <toDate>01/01/2100</toDate>
      <ignorePrevious>true</ignorePrevious>
      <active>true</active>
      <defaultActionRequested>C</defaultActionRequested>
      </ruleDefaults>
      </ruleTemplate>

      This is most likely a limitation of the schema but we should fix it.

        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