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

UifControllerHandler afterCompletion should check for empty views

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m2
    • Fix Version/s: 2.2.0-m3, 2.2
    • Component/s: Development, User Interface
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-3065Add checks for null or empty "includeBlankRow" in FieldUtils and FieldBridge
      KULRICE-5707Direct inquiry empty check not working and cancel on lightbox not working
      KULRICE-13104Empty check in ValidationUtils via ExistenceConstraintProcessor ...
      KULRICE-4173SectionBridge not checking for empty collections in old maintainables
      KULRICE-5981Breadcrumbs with single page views
      KULRICE-3801Fix the way that "empty" KIM objects are handled
      KULRICE-7185Optimization of KIM Permission Checks
      KULRICE-13318Fix CompareFieldCreateModifier to check for null field propertyName.
      KULRICE-11900AFT Failure View Help Method Suggest Widget has empty results
      KULRICE-1947If ActionRequestValue.qualifiedRoleNameLabel is empty, an empty set of parentheses are currently being displayed on the Route Log
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      KS My Plan
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      UifControllerHandlerInterceptor in its afterCompleting method assumes that all responses are KRAD views and expects the either the view or postedView to be present. We have the ajaxRequest data table where the response is pure JSON and in that case both of the views are null. This throws a null pointer exception

      My recommendation would be to return if form is null || (view is null && postedView is null)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jerry Neal (Inactive)
            Reporter:
            Kamal Muthuswamy (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel