-
Notifications
You must be signed in to change notification settings - Fork 35
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
Username undefined in catalogue view #1187
Comments
Update: did not occur with normal user in nightly as I checked out this morning. To be verified and checked later whether this was wrong call.. |
ok, thanks @saralavanip |
As part of this I may have found reason why @saralavanip Managed APIs disappear on nightly. I am getting on adding API backend: "insert failed: Access denied. No allow validators set on restricted collection for method 'insert'." Anyway, that somehow succeeds on the client minimongo and is visible on the client but on the server side Mongo allow/deny rules restrict the addition to persistent storage. So My Managed APIs disappear also locally after Meteor server restart when doing changes for code. |
@saralavanip, please confirm. |
Verified this resolved issue. Findings: |
Latest develop in catalogue view might give "username" undefined.
It seems to work as "admin" user but normal user OR not logged in user gets empty catalogue page and client console log "username undefined.
Apologies, this is caused by my helper with insufficient error handling: https://github.com/apinf/api-umbrella-dashboard/blob/develop/apis/collection/backend.js#L781
The text was updated successfully, but these errors were encountered: