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

Investigate permission bug #2408

Closed
irfanhabib opened this issue Jun 18, 2018 · 0 comments · Fixed by #2409
Closed

Investigate permission bug #2408

irfanhabib opened this issue Jun 18, 2018 · 0 comments · Fixed by #2409
Assignees
Labels
P1 Priority 1

Comments

@irfanhabib
Copy link
Contributor

irfanhabib commented Jun 18, 2018

Logged in as a non-admin user

Mon, 18 Jun 2018 08:33:48 GMT- Failed to fetch current user permissions:  TypeError: Cannot read property 'push' of undefined
    at main.js:40581
    at Array.forEach (<anonymous>)
    at PermissionsEffects.push../src/frontend/app/store/effects/permissions.effect.ts.PermissionsEffects.dispatchRoleRequests (main.js:40579)
    at SwitchMapSubscriber.project (main.js:40553)
    at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber._next (vendor.js:202689)
    at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js.WithLatestFromSubscriber._next (vendor.js:204994)
    at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at FilterSubscriber.push../node_modules/rxjs/_esm5/internal/operators/filter.js.FilterSubscriber._next (vendor.js:198425)
    at FilterSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
push../src/frontend/app/core/logger.service.ts.LoggerService.log @ main.js:2379
09:33:48.033 
vendor.js:53892 ERROR Error: Effect "PermissionsEffects.getCurrentUsersPermissions$" dispatched an invalid action: [object Object]
    at reportInvalidActions (vendor.js:123992)
    at verifyOutput (vendor.js:123980)
    at MapSubscriber.project (vendor.js:124038)
    at MapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next (vendor.js:199279)
    at MapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at ExhaustMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/exhaustMap.js.ExhaustMapSubscriber.notifyNext (vendor.js:198138)
    at InnerSubscriber.push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next (vendor.js:189954)
    at InnerSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext (vendor.js:199779)
    at InnerSubscriber.push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next (vendor.js:189954)
defaultErrorLogger @ vendor.js:53892
09:33:48.194 vendor.js:53892 ERROR TypeError: Actions must have a type property
    at ActionsSubject.push../node_modules/@ngrx/store/fesm5/store.js.ActionsSubject.next (vendor.js:125461)
    at Store.push../node_modules/@ngrx/store/fesm5/store.js.Store.next (vendor.js:125828)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (vendor.js:191245)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (vendor.js:191183)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (vendor.js:191121)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext (vendor.js:199779)
    at InnerSubscriber.push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next (vendor.js:189954)
    at InnerSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (vendor.js:191085)
    at Notification.push../node_modules/rxjs/_esm5/internal/Notification.js.Notification.observe (vendor.js:190018)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Priority 1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants