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

Collection table starts not displaying after returning from a controller called dialog.

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0-m4
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Environment:
      Compiling under Jdk6u35 and running on tomcat 7 application server
    • Similar issues:
      KULRICE-9614Dialogs not correctly returning to controller method
      KULRICE-7446Implement return from dialog
      KULRICE-9059Issue with displaying dialog from within a collection line action method
      KULRICE-4712Make control for additional property display
      KULRICE-8353Lookup controller does not check return of validation call
      KULRICE-7445Controller Hooks to askQuestion , showDialog Lightbox
      KULRICE-13182Reorder calling of authorizers and presentation controllers
      KULRICE-8319Expressions not being evaluated for components in a dialog group
      KULRICE-9691js error when delete the last line from collection with Add Blank Line button
      KULRICE-12133Allow use of progressive paging with Paging table collections in KRAD
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Conditions: Encountered issue when adding dialog confirmation to a collection table. The collection uses Uif-Disclosure-TableCollectionSection and is on the second page of a multiple page view. The collection data is based on the selection from a drop down control on the page. The response to the dialog can be either affirmative or negative.

      Effects: When the dialog is displayed the page shown in the background does not display the collection table at all. When the dialog is returned w/ either yes or no the table displays correctly though no highlighting is present. When interacting with additional actions buttons like add, the page will change and the action preformed to the collection but the component will no longer be displayed in any way. If another action outside the table or refresh happens the table will display without highlighting.

      Observations:
      The table has a condition for rendering but the issue happens with the table set to always render as well.
      This effects other collection tables on the page in the same manner. If the confirmation is called on table 1 then button interactions in table 2 will cause table 2 to disappear but table 1 will still be shown. Attempted to to try different render options and refresh options on the table.
      Other objects will still display correctly.

      Example Bean xml files used have been attached. The controller code example:

      @RequestMapping(params = "methodToCall=deleteLineThroughDialog")
      public ModelAndView deleteLineWithDialog(@ModelAttribute("KualiForm") RegistrationWindowsManagementForm uifForm, @SuppressWarnings("unused") BindingResult result, @SuppressWarnings("unused") HttpServletRequest request, @SuppressWarnings("unused") HttpServletResponse response) {
      try{
                  String dialog = AppointmentConstants.Registration_Windows_ConfirmDelete_Dialog;
                  if (!hasDialogBeenDisplayed(dialog, uifForm)){
                      AppointmentWindowWrapper window = _getSelectedWindow(uifForm, "Delete a Window");
                      uifForm.setSelectedAppointmentWindow(window);
      
                      //redirect back to client to display lightbox
                      return showDialog(dialog,uifForm, request, response);
                  }
      
                  boolean confirmDelete=getBooleanDialogResponse(dialog,uifForm,request,response);
                  uifForm.getDialogManager().resetDialogStatus(dialog);
                  if(!confirmDelete){
                      getUIFModelAndView(uifForm);
                  }
              }catch (Exception e){
                  
                  return getUIFModelAndView(uifForm);
              }
              getUIFModelAndView(uifForm);
      
      1. RegistrationWindowsEditPage.xml
        20 kB
        Cody Glover
      2. RegistrationWindowsManagementView.xml
        2 kB
        Cody Glover
      1. AfterDialog.jpg
        206 kB
      2. AfterPressingATableButton.jpg
        104 kB
      3. BeforeDialog.jpg
        183 kB
      4. DuringDialog.jpg
        97 kB

        Issue Links

          Activity

          Jerry Neal (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.2.1 [ 16733 ]
          Cody Glover (Inactive) made changes -
          Attachment AfterDialog.jpg [ 63043 ]
          Attachment AfterPressingATableButton.jpg [ 63044 ]
          Attachment BeforeDialog.jpg [ 63045 ]
          Attachment DuringDialog.jpg [ 63046 ]
          Jerry Neal (Inactive) made changes -
          Assignee Sona Sona [ sonam ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.3-backlog [ 16596 ]
          Fix Version/s 2.2.1 [ 16733 ]
          Jerry Neal (Inactive) made changes -
          Fix Version/s 2.3 [ 16595 ]
          Fix Version/s 2.3-backlog [ 16596 ]
          Assignee Sona Sona [ sonam ]
          Hide
          Larry Symms added a comment -

          was there a workaround put in place for this or was it resolved?

          Show
          Larry Symms added a comment - was there a workaround put in place for this or was it resolved?
          Larry Symms made changes -
          Assignee Cody Glover [ johglov ]
          Hide
          Cody Glover (Inactive) added a comment -

          Found in KSENROLL-952. KSENROLL-952 issue was resolved with a work around of using redirects to refresh the page between dialogs.

          Show
          Cody Glover (Inactive) added a comment - Found in KSENROLL-952 . KSENROLL-952 issue was resolved with a work around of using redirects to refresh the page between dialogs.
          Cody Glover (Inactive) made changes -
          Link This issue discovered by KSENROLL-952 [ KSENROLL-952 ]
          Cody Glover (Inactive) made changes -
          Assignee Cody Glover [ johglov ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4 [ 16913 ]
          Fix Version/s 2.3 [ 16595 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4-backlog [ 16596 ]
          Fix Version/s 2.4 [ 16913 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 158098 ] Copy of custom for rice [ 207674 ]
          Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 207674 ] custom [ 217422 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 217422 ] Rice Workflow [ 227170 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4 [ 16913 ]
          Fix Version/s 2.4-backlog [ 16596 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s Backlog [ 15811 ]
          Fix Version/s 2.4 [ 16913 ]
          Eric Westfall made changes -
          Labels Old

            People

            • Assignee:
              Unassigned
              Reporter:
              Cody Glover (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel