Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-22199

Console login flow forgot query parameters / Deeplinking doesn't work

    XMLWordPrintable

Details

    • No
    • ODC Sprint 3247
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when an unauthorized user opened a link to the console that contains path and query parameters, and they were redirected to a login page, the query parameters did not restore after the login was successful. As a result, the user needed to restore the search or click the link to the console again. With this update, the latest version saves and restores the query parameters similar to the path. (link:https://issues.redhat.com/browse/OCPBUGS-22199[*OCPBUGS-22199*])
      Show
      * Previously, when an unauthorized user opened a link to the console that contains path and query parameters, and they were redirected to a login page, the query parameters did not restore after the login was successful. As a result, the user needed to restore the search or click the link to the console again. With this update, the latest version saves and restores the query parameters similar to the path. (link: https://issues.redhat.com/browse/OCPBUGS-22199 [* OCPBUGS-22199 *])
    • Bug Fix
    • Done

    Description

      Description of problem:
      The RHDP-Developer/DXP team wants to deep-link some catalog pages with a filter on the Developer Sandbox cluster. The target page was shown without any query parameter when the user wasn't logged in.

      Version-Release number of selected component (if applicable):
      At least 4.13 (Dev Sandbox clusters run 4.13.13 currently.)

      How reproducible:
      Always when not logged in

      Steps to Reproduce:

      1. Login
      2. Switch to Developer perspective
      3. Navigate to Add > Developer Catalog > Builder Images > Add filter for ".NET" (for example)
        1. Users are applied to different clusters, so the exact URL isn't known, but the Path and Query parameters should look like this:
          /catalog/ns/cjerolim-dev?catalogType=BuilderImage&keyword=.NET
        2. Save the full URL incl. these query parameters
      4. Logout
      5. Enter the full URL from above
      6. Login

      Actual results:
      The Developer Catalog is opened, but the catalog type "Build Images" and keyword filter ".NET" are not applied.

      All Developer Catalog items are shown.

      Expected results:
      The Developer Catalog should open with the catalog type "Build Images" and the keyword filter ".NET" applied.

      Exactly one catalog item should be shown.

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              cjerolim Christoph Jerolimov
              cjerolim Christoph Jerolimov
              Shekhar Singh Shekhar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: