Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-6296

UnexpectedRollbackException when using breadcrumb to go back to Agenda Editor from adding a rule

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRMS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      From the rule editing screen, if the breadcrumb allows you to click the Agenda Editor link, doing so results in an UnexpectedRollbackException.

      To get the breadcrumb to display that segment, you may need to hit the 'refresh' button on the rule editing tool bar.

        Attachments

          Issue Links

            Activity

            Hide
            jcoltrin Jessica Coltrin (Inactive) added a comment -

            setting fix version to 2.2 since it's not critical or blocker

            Show
            jcoltrin Jessica Coltrin (Inactive) added a comment - setting fix version to 2.2 since it's not critical or blocker
            Hide
            sonam Sona Sona (Inactive) added a comment - - edited

            I was not able to get the UnexpectedRollbackException that is mentioned in the jira. I was however getting three other exceptions which were causing it to blow up
            1. ArrayIndexOutofBounds exception at History.buildHistoryFromParameterString()

            pushToHistory(params[0], params[1], params[2], params[3], params[4]);
            

            2. NullPointerExeption at AgendaEditorMaintainable.retrieveTermParameters()

            Tree<RuleTreeNode, String> propositionTree = rule.getPropositionTree();
            

            3.ExceptionEvaluationError at ExpressionEvaluatorServiceImpl.evaluateExpression() because it was retaining the pageId from the EditRule page.

            Expression expression = parser.parseExpression(expressionStr);
            

            I have added a fix for each of these and will create a review for it. Breadcrumbs on the Agenda Editor are no longer blowing up and it takes you back to the AgendaEdit page with the initially selected agenda.

            Show
            sonam Sona Sona (Inactive) added a comment - - edited I was not able to get the UnexpectedRollbackException that is mentioned in the jira. I was however getting three other exceptions which were causing it to blow up 1. ArrayIndexOutofBounds exception at History.buildHistoryFromParameterString() pushToHistory(params[0], params[1], params[2], params[3], params[4]); 2. NullPointerExeption at AgendaEditorMaintainable.retrieveTermParameters() Tree<RuleTreeNode, String > propositionTree = rule.getPropositionTree(); 3.ExceptionEvaluationError at ExpressionEvaluatorServiceImpl.evaluateExpression() because it was retaining the pageId from the EditRule page. Expression expression = parser.parseExpression(expressionStr); I have added a fix for each of these and will create a review for it. Breadcrumbs on the Agenda Editor are no longer blowing up and it takes you back to the AgendaEdit page with the initially selected agenda.
            Hide
            jcoltrin Jessica Coltrin (Inactive) added a comment -

            Since these were fixed on the trunk, they are 2.3.

            Show
            jcoltrin Jessica Coltrin (Inactive) added a comment - Since these were fixed on the trunk, they are 2.3.

              People

              • Assignee:
                sonam Sona Sona (Inactive)
                Reporter:
                gilesp Peter Giles (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: