Closed mario-orlicky closed 7 years ago
I am able to reproduce this problem. It seems that there is an unfortunate interaction between three things:
Users
record, including the full profile
field.Of course, it still would be good to understand the root problem here! I suspect there is a bug in the cottz:publish-relations package.
Some errors on current version of pull request https://github.com/wefork/wekan/pull/20
I believe the main problem is that this cursor will call subscription.added()
with an incomplete version of the user's profile. If that call to added()
happens before Meteor's autopublish of user.profile
happens, then it is the only piece of the profile that the client will see. #25 fixes this problem by avoiding the current user in this 'boards' publish.
Fixed by #25.
There is a problem after logout/login the profile schema is not attached to the user. This unfortunately happens only sometimes, the refresh solves the problem. Open dev tools and check with Meteor.user().profile, probably the full profile shown only with 'invitedBoards' property is returned. Try to relogin, check the profile again. If property still visible then try again. It usually happens after first relogin to me, but used to happen on the third one as well..
EDIT: If reproduced the issue notice that this also causes shortcuts for starred boards to dissapear, which are also stored in the profile