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
Run into this strange error just recently. I'm subscribed to profiles collection (from socialize:profiles - have it locally for Meteor 3) through the app. In my text editor I have triggered a function to change a field on my profile like this:
Strangely though the profile document gets replaced with the change and two extra fields. Which results in other important fields missing. Calling other methods around the editor that also change the readerSettings then adds other fields back in.
Removing and adding the package seemed to fix the issue (which is why I was able to pin it to this package).
Then I found that if the offline package is last in the packages file then the problem does not occur. So maybe the package needs to be loaded after all the packages with collections have been loaded to prevent this issue?
The text was updated successfully, but these errors were encountered:
Interesting. I'll try to reproduce but if you could help with a minimal repro without socialize that would be appreciated.
Then I found that if the offline package is last in the packages file then the problem does not occur. So maybe the package needs to be loaded after all the packages with collections have been loaded to prevent this issue?
Sounds like a workaround for now until we have a better diagnosis.
Run into this strange error just recently. I'm subscribed to profiles collection (from
socialize:profiles
- have it locally for Meteor 3) through the app. In my text editor I have triggered a function to change a field on my profile like this:Strangely though the profile document gets replaced with the change and two extra fields. Which results in other important fields missing. Calling other methods around the editor that also change the
readerSettings
then adds other fields back in.Removing and adding the package seemed to fix the issue (which is why I was able to pin it to this package).
Then I found that if the offline package is last in the packages file then the problem does not occur. So maybe the package needs to be loaded after all the packages with collections have been loaded to prevent this issue?
The text was updated successfully, but these errors were encountered: