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

Action parameters do not get submitted correctly for non-ajax requests

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF MVC
    • Application Requirement:
      KC
    • Sprint:
      UXI 2.5.0-m4 Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      I'm working on that previous issue we were having related to the lifecycle, dynamic toggle menus and back and continue buttons. I switched the buttons to use a finalizeMethodToCall, in which I set the actionParameters[navigateToPageId]. For some reason when this button is clicked and the data submitted, the value gets posted to the server as actionParameters[navigateToPageId] which is different than if I clicked on a traditional navigate button. Any idea why? I've tried to paste all relevant stuff here. http://pastebin.com/GSqkQce7

      It appears after debugging in the JS called for the button action, it calls actionInvokeHanlder->KradRequest.send->KradRequest._continueAfterPreSubmit->KradRequest._submitNonAjax which ends up writing the actionParameters out to the form and in the process escaping the actionParameters which is what adds the [ to the parameters.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              jkneal Jerry Neal (Inactive)
              Reporter:
              dpace Douglas Pace
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h