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

Travel Account Document has a NPE on empty subsidized percent

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.3
    • Component/s: Sample Application
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-11421Usability Issue with Travel Account Maintentance Edit: Subsidized Percent
      KULRICE-13277Demo Lookup Search subsidized percent required indicator not appearing for DD entry
      KULRICE-13078AFT Failure DemoTravelAccountMaintenanceNewAft Incident Report when javascript entered into subsidized percent
      KULRICE-12434Create Travel Account Lookup with advanced features
      KULRICE-9840KRAD Demo Travel Account Maintenance Edit NPE Incident Report
      KULRICE-13042AFT Failure DemoTravelAccountMaintenanceEditAft Subsidized Percent not saved on Blanket Approve and redirects to Home page
      KULRICE-5653Create KRAD Version of Travel Account Document
      KULRICE-5656Create KRAD version of Travel Account Type document
      KULRICE-3356"Travel Account" field on Travel Request creation page is not working properly
      KULRICE-10429NPE in Table Layout Manager when opening up Travel Account maintenance documents
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Document
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      When doing a blanket approve on a new KRAD Travel Maintenance Document, site returns home w/o success if subsidized percent is left blank, returning to create a new doc shows a locked document warning.

      Steps to reproduce:
      Login to env7.rice
      Click on KRAD Tab
      Click on KRAD Sample Travel App - Travel Account Maintenance (New)
      Fill in necessary fields excluding subsided percentile
      Blanket Approve
      Site will return homepage and logs will show issue with subsided percentile
      Return to new maintance page - see warning regarding previous document (screenshot attached)

      Fix: Make Subsidized Percent required or TravelAccountRulesEngineExecutor:execute - add subsidized percent !isNull & isNumeric check

        Activity

        Hide
        Martin Taylor (Inactive) added a comment -

        Notes: Added isEmpty check to subsidized percentage. To test had to add a numeric acct/subacct:

        update ricedev.TRV_ACCT SET TRV_ACCT.SUB_ACCT = '1001011001', TRV_ACCT.ACCT_NUM = '1001011010'
        WHERE TRV_ACCT.ACCT_NUM = 'a1'
        

        Seeing two other issues. Travel account rules executor has a null pointer exception when no context/engine results are found. Also, found a action list item related to missing fo id.

        Show
        Martin Taylor (Inactive) added a comment - Notes: Added isEmpty check to subsidized percentage. To test had to add a numeric acct/subacct: update ricedev.TRV_ACCT SET TRV_ACCT.SUB_ACCT = '1001011001', TRV_ACCT.ACCT_NUM = '1001011010' WHERE TRV_ACCT.ACCT_NUM = 'a1' Seeing two other issues. Travel account rules executor has a null pointer exception when no context/engine results are found. Also, found a action list item related to missing fo id.
        Hide
        Martin Taylor (Inactive) added a comment -

        Fixed issue with isEmpty check in TravelAccountRulesExecutor

        Show
        Martin Taylor (Inactive) added a comment - Fixed issue with isEmpty check in TravelAccountRulesExecutor

          People

          • Assignee:
            Martin Taylor (Inactive)
            Reporter:
            Martin Taylor (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel