You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the browser to call the pub links (from server/main.js), which calls Meteor.userAsync() inside.
See error in the console
Expected behavior
It is expected, that this exceptions is not thrown, since Meteor.userAsync() is called within a publication.
Screenshots
Desktop:
OS: macOS Ventura
Browser chrome, safari
Smartphone:
n/A
Additional context
You can downgrade to 2.14 via meteor update --release 2.14 and the exception disappears. Also, you can meteor remove matb33:collection-hooks and the exceptions disappears.
The text was updated successfully, but these errors were encountered:
We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.
However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee you issues to be solved within certain time.
If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.
Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know.
If you call
Meteor.userAsync
inside a publication you get aMeteor.userId can only be invoked in method calls or publications.
To Reproduce
Steps to reproduce the behavior:
meteor run
links
(fromserver/main.js
), which callsMeteor.userAsync()
inside.Expected behavior
It is expected, that this exceptions is not thrown, since
Meteor.userAsync()
is called within a publication.Screenshots
Desktop:
Smartphone:
n/A
Additional context
You can downgrade to 2.14 via
meteor update --release 2.14
and the exception disappears. Also, you canmeteor remove matb33:collection-hooks
and the exceptions disappears.The text was updated successfully, but these errors were encountered: