Comments (6)
I am able to reproduce this problem. It seems that there is an unfortunate interaction between three things:
- Meteor's built-in logic that subscribes a user to their own
Users
record, including the fullprofile
field. - Wekan's 'board' publication, which relies on some complicated magic from the cottz:publish-relations package to publish partial profiles for all members of a board. Somehow this seems to overwrite the profile data that the client receives from (1).
- Wekan's usage of SubsManager, which implies that subscriptions to 'board' don't get stopped when the user navigates away.
from wekan.
#20 works around the problem.
from wekan.
#21 works around the problem and seems less likely than #20 to cause other problems.
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.
from wekan.
Some errors on current version of pull request #20
from wekan.
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.
from wekan.
Fixed by #25.
from wekan.
Related Issues (20)
- Allow Superuser issue for newer versions of meteor. HOT 12
- Add feature: Support offline mode HOT 1
- Powerbox contact picker doesn't show all contacts HOT 2
- reordering of labels in the label panel HOT 1
- Powerbox sharing fails with "no grains can provide the requested interface" HOT 1
- FR: removing members from board HOT 2
- `xss` package not installed HOT 4
- Suggestions to reduce size of the meteor bundle HOT 2
- Add feature: WIP limits HOT 6
- Download file(unicode filename) action cause server process crashed with exception. HOT 4
- Current manual install instructions for running produce error HOT 4
- Override template & css HOT 2
- Docker script does not default arguments correctly HOT 15
- Wefork container crashes after invitation to board HOT 5
- Should this fork be promoted more aggressively? HOT 2
- support for anonymous edits HOT 2
- Add WeFork organization members to Wekan organization? HOT 1
- Labels drag and drop? HOT 2
- Can't download attachment with special character in file name HOT 8
- Wekan at Sandstorm is heavily outdated! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wekan.