Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Regression #2007

Closed
timdeschryver opened this issue Sep 18, 2024 · 0 comments · Fixed by #2008
Closed

[Bug]: Regression #2007

timdeschryver opened this issue Sep 18, 2024 · 0 comments · Fixed by #2008

Comments

@timdeschryver
Copy link
Contributor

timdeschryver commented Sep 18, 2024

Version

Latest (unreleased)

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

It seems like #2000 causes some regression.
Using autoLoginPartialRoutesGuard, the route's state is passed as configId causing issues because the config cannot be found.

Resulting in the following error:

core.mjs:6619 ERROR Error: Please provide a configuration before setting up the module
    at _LoginService.login (login.service.ts:32:13)
    at auto-login-partial-routes.guard.ts:137:24
    at map.js:7:37
    at OperatorSubscriber2._this._next (OperatorSubscriber.js:15:21)
    at Subscriber2.next (Subscriber.js:34:18)
    at Observable2._subscribe (innerFrom.js:51:24)
    at Observable2._trySubscribe (Observable.js:38:25)
    at Observable.js:32:31
    at errorContext (errorContext.js:19:9)
    at Observable2.subscribe (Observable.js:23:9)

In the example you can the configId which is used:
image

Steps to reproduce the behavior

You can reproduce this issue using the standalone example in this repo:

npm run build-lib
npm run start-sample-code-flow-standalone

A clear and concise description of what you expected to happen.

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant