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

When Javascript is disabled, the methodToCall is not always properly discovered.

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-3235The tabs on the RuleQuickLinks page vanish if they are expanded/collapsed when Javascript is disabled
      KULRICE-3183The show/hide tab buttons on the identityManagementRoleInquiry.do page cause the page to crash when Javascript is disabled
      KULRICE-12702Disabled checkbox loses value when submitting a form
      KULRICE-3530The "refresh" buttons for namespace code fields on group and role inquiries are visible and cause HTTP 500 errors when JavaScript is disabled
      KULRICE-7364"disabled" property improvements
      KULRICE-6930Invalid javascript in jscalendar language files
      KULRICE-1169Inquiry screens: server error clicking "Hide" when javascript's disabled
      KULRICE-7880On Maintenance cancel action, the redirect url has two methodToCall params
      KULRICE-12703defaultValue property not working on non-standard methodToCall methods
      KULRICE-13117Disable Date Picker Control when the field is disabled
    • Rice Module:
      KNS
    • Application Requirement:
      Rice

      Description

      When using the expanded text area, an inquiry page, or a similar type of page when Javascript is disabled, an exception like the following will be thrown when clicking a button that makes the browser return to the page that opened the inquiry/textarea:

      java.lang.RuntimeException: Cannot verify that the methodToCall should be [Name_Of_Method]

      See KULRICE-2903 for further details. Another example can be found by performing the following steps:

      1) Start up the Jetty server for Rice.
      2) Open the root kr-dev URL in a browser, making sure that the browser has Javascript disabled.
      3) Click on the link for creating travel requests.
      4) Click on the book icon next to the "Travel Account" field.
      5) Click the "Close" button, and the error should appear.

        Issue Links

          Activity

          Hide
          Warren Liang added a comment -

          Chad,

          What user do I login as to create teh travel request? admin isn't allowed to initiate it.

          Show
          Warren Liang added a comment - Chad, What user do I login as to create teh travel request? admin isn't allowed to initiate it.
          Hide
          Chad Hagstrom added a comment -

          I don't have any trouble opening the travel request creation form as "admin" on my machine. You may want to make sure that you have the latest version of Rice from the repository. And, if you're using a local Rice database, you may want to update that too.

          Alternatively, you could try logging in as "quickstart," which also works for the travel request page on my Rice copy.

          Show
          Chad Hagstrom added a comment - I don't have any trouble opening the travel request creation form as "admin" on my machine. You may want to make sure that you have the latest version of Rice from the repository. And, if you're using a local Rice database, you may want to update that too. Alternatively, you could try logging in as "quickstart," which also works for the travel request page on my Rice copy.
          Hide
          Warren Liang added a comment -

          Fixed this issue.

          BTW, I also fixed the TravelAccount BO DD file. The lookup framework was getting an NPE, which was the result of the select control def in TravelAccount-extension.accountTypeCode-parentBean not having the includeBlankRow set. I set the value to true in the DD. Please confirm that this is OK.

          Show
          Warren Liang added a comment - Fixed this issue. BTW, I also fixed the TravelAccount BO DD file. The lookup framework was getting an NPE, which was the result of the select control def in TravelAccount-extension.accountTypeCode-parentBean not having the includeBlankRow set. I set the value to true in the DD. Please confirm that this is OK.
          Hide
          Eric Westfall added a comment -

          Thanks for the help here Warren. And for fixing the TravelAccount BO file.

          Show
          Eric Westfall added a comment - Thanks for the help here Warren. And for fixing the TravelAccount BO file.
          Hide
          Eric Westfall added a comment -

          Bulk change of all Rice 1.0 issues to closed after public release.

          Show
          Eric Westfall added a comment - Bulk change of all Rice 1.0 issues to closed after public release.

            People

            • Assignee:
              Warren Liang
              Reporter:
              Chad Hagstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel