Uploaded image for project: '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
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • 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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: