Uploaded image for project: '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

    • 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.

        Attachments

          Issue Links

            Activity

            Hide
            gtaylor Garey Taylor added a comment -

            Chad,

            Can you look into this and provide an estimate.

            Show
            gtaylor Garey Taylor added a comment - Chad, Can you look into this and provide an estimate.
            Hide
            chagstrom 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
            chagstrom 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
            chagstrom 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
            chagstrom 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:
                chagstrom Chad Hagstrom
                Reporter:
                chagstrom 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