Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-401

When I try to access a non-existing page I get redirected to the login/index page

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: frontend
    • Labels:
      None

      Description

      AT:

      • given:
        • I'm not logged in as a user
      • when:
      • then:
        • An empty page is shown
      • expected:
        • I get an error page shows and redirected to the login page
      • given:
        • I'm logged in as a user
      • when:
      • then:
        • An empty page is shown
      • expected:
        • I get an error page shows and redirected to the index page with the process definitions

        Activity

        Hide
        franz.heidl Franz Heidl added a comment - - edited

        Redirecting the user on a 404 is a bit of a dark pattern. Showing an error page should be enough.

        We can still offer a link to the log in, although in this scenario it does not make too much sense since it’s a 404 and the requested url still won’t exist after logging in. In any event, the header should be shown in it’s correct state (logged in or not), thus all necessary options for the resp. user will be available anyway.

        Show
        franz.heidl Franz Heidl added a comment - - edited Redirecting the user on a 404 is a bit of a dark pattern. Showing an error page should be enough. We can still offer a link to the log in, although in this scenario it does not make too much sense since it’s a 404 and the requested url still won’t exist after logging in. In any event, the header should be shown in it’s correct state (logged in or not), thus all necessary options for the resp. user will be available anyway.
        Hide
        johannes.heinemann Johannes Heinemann added a comment -

        The described behavior is not desired in Optimize. See Franz comment.

        Show
        johannes.heinemann Johannes Heinemann added a comment - The described behavior is not desired in Optimize. See Franz comment.

          People

          • Assignee:
            Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: