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

The "refresh" buttons for namespace code fields on group and role inquiries are visible and cause HTTP 500 errors when JavaScript is disabled

    Details

    • Similar issues:
      KULRICE-3183The show/hide tab buttons on the identityManagementRoleInquiry.do page cause the page to crash when Javascript is disabled
      KULRICE-2941When Javascript is disabled, the methodToCall is not always properly discovered.
      KULRICE-6700Rice Dev1: Error on Group and Role Inquiry when using Pagination Links
      KULRICE-8551Uif Components (Kitchen Sink), Other Fields, Javascript errors Reordering Group
      KULRICE-6732UserControl (Uif-Kim-PersonControl) causes JavaScript Error
      KULRICE-6820Errors on Role Lookup Screen for NameSpace options
      KULRICE-3425"Role/Group/Permission/Responsibility Type" link doesn't work, http error 500
      KULRICE-2408create Role Lookup and Inquiry
      KULRICE-13297Searching for Roles by Group Name or Group Namespace throws STE
      KULRICE-3441500 error when opening the role/group/permission/responsibility type inquiry
    • Rice Team:
      QA

      Description

      When a user opens a group inquiry or a role inquiry when JavaScript is disabled, the "refresh" button is visible next to the field for the namespace code, and clicking it results in an HTTP 500 error.

        Issue Links

          Activity

          Hide
          Garey Taylor added a comment -

          Chad,

          Can you look into this and provide an estimate.

          Show
          Garey Taylor added a comment - Chad, Can you look into this and provide an estimate.
          Hide
          Chad Hagstrom added a comment -

          It appears that the "refresh" buttons on the problematic group and role inquiries are enclosed in <noscript> tags (which explains why this issue only occurs when JavaScript is disabled); however, the JSP logic for generating the "refresh" button sections does not check whether or not the page is an inquiry, and this seems to be where the problem lies. Fortunately, IdentityManagementDocumentFormBase does have an "inquiry" property that indicates whether or not we are dealing with an inquiry page, so hopefully this is an easy-to-fix problem and should be very quick to complete.

          Show
          Chad Hagstrom added a comment - It appears that the "refresh" buttons on the problematic group and role inquiries are enclosed in <noscript> tags (which explains why this issue only occurs when JavaScript is disabled); however, the JSP logic for generating the "refresh" button sections does not check whether or not the page is an inquiry, and this seems to be where the problem lies. Fortunately, IdentityManagementDocumentFormBase does have an "inquiry" property that indicates whether or not we are dealing with an inquiry page, so hopefully this is an easy-to-fix problem and should be very quick to complete.
          Hide
          Chad Hagstrom added a comment -

          The "refresh" button on the namespace property for groups and roles has been modified so that it does not appear if the namespace property is not editable (as is the case with group/role inquiries or when editing an existing group/role). This is in addition to the button's previous visibility constraints; namely, that the button is always invisible when JavaScript is enabled. Also, I had to change the button to an <html:image> tag so that its methodToCall could be discovered properly when clicked.

          Show
          Chad Hagstrom added a comment - The "refresh" button on the namespace property for groups and roles has been modified so that it does not appear if the namespace property is not editable (as is the case with group/role inquiries or when editing an existing group/role). This is in addition to the button's previous visibility constraints; namely, that the button is always invisible when JavaScript is enabled. Also, I had to change the button to an <html:image> tag so that its methodToCall could be discovered properly when clicked.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Structure Helper Panel