Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-839

Strip Superfluous Spaces from Metadata URL Field

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • Release 4 - 9/4 - 9/13, Release 4 - 9/13 - 9/27

    Description

      JJ, I'm assigning this to you to determine if this should be a front-end or back-end task. This was one of the issues we discussed during Friday's meeting.

      Tested in version 1.0.1-SNAPSHOT-4804797
      Description
      When a valid Metadata URL is entered but there's a trailing space upon saving the provider the user is stuck with the loading upon save. If the user logs out and back in again, the provider appears on the provider list. However, if the user attempts to edit the provider or add a filter, they are again presented with the save issue.
       
      Steps
      Create Flow # Log into UI

      1. Click 'Add New' button and select 'Metadata Provider’
      2. Enter a valid Metadata URL with a trailing space: "https://idp.unicon.net/idp/shibboleth "
      3. Move through the application to the Save page

       
      Edit Flow # From Dashboard, select Metadata Providers tag

      1. Make any edit EXCEPT for the Metadata URL which still has a trailing space: "https://idp.unicon.net/idp/shibboleth "
      2. Save page

       
      What is occurring
      Perpetual loading.
       
      What is expected
      Two possible solutions:
      1. UI can strip the space(s)
      2. Back end can strip the space(s)
       
      Error Code
      Failed to load resource: the server responded with a status of 400 ()

      Attachments

        Activity

          People

            mmosbrook Mary Mosbrook (Inactive)
            mmosbrook Mary Mosbrook (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 2 hours, 30 minutes Remaining Estimate - 1 hour, 30 minutes
                1h 30m
                Logged:
                Time Spent - 2 hours, 30 minutes Remaining Estimate - 1 hour, 30 minutes
                2h 30m