Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2767

Fix redirection to a custom page after login

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Severity: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.1.6, 5.2 M2, 5.2 RC1
    • Fix Version/s: 5.4
    • Component/s: Seam / JSF UI

      Description

      By default, user is redircted to the initial document default view after login:

      <page view-id="/nxstartup.xhtml"
      action="#

      {startupHelper.initDomainAndFindStartupPage('Default domain', 'view')}

      " />

      Comments also advise how to customize the redirection view:

      <!-- To redirect to the user dashboard instead, use instead:

      <page view-id="/nxstartup.xhtml"
      action="#

      {startupHelper.initDomainAndFindStartupPage('Default domain', 'user_dashboard')}

      " />
      -->

      This won't work by default as method initDomainAndFindStartupPage waits for a document view id, not a jsf outcome id => if 'user_dashboard' does not match a view defined on the document ecm type, the document default view will be used, and 'user_dashboard' will be ignored.

        Activity

        Anahide Tchertchian created issue -
        Thierry Delprat made changes -
        Field Original Value New Value
        Fix Version/s 5.2 M3 [ 10493 ]
        Fix Version/s 5.2 M4 [ 10528 ]
        Thierry Delprat made changes -
        Workflow jira [ 31701 ] NXP-WF [ 34367 ]
        Thierry Delprat made changes -
        Fix Version/s 5.2 M4 [ 10528 ]
        Fix Version/s 5.2 Beta [ 10494 ]
        Florent Guillaume made changes -
        Affects Version/s 5.2 RC [ 10334 ]
        Fix Version/s 5.2 RC [ 10334 ]
        Fix Version/s 5.2 Beta [ 10494 ]
        Stéfane Fermigier made changes -
        Fix Version/s 5.2 RC [ 10334 ]
        Fix Version/s 5.2.x [ 10662 ]
        Florent Guillaume made changes -
        Fix Version/s 5.4 [ 11024 ]
        Tags fix53x
        Fix Version/s 5.1.x [ 10466 ]
        Fix Version/s 5.3.x [ 10662 ]
        Thierry Delprat made changes -
        Assignee Thierry Delprat [ tdelprat ] BugMan virtual user [ bugman ]
        Tags fix53x BugDay
        Stéfane Fermigier made changes -
        Status Open [ 1 ] Triage [ 10005 ]
        Thierry Delprat made changes -
        Status Triage [ 10005 ] Open [ 1 ]
        Thierry Delprat made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: