Skip to content
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

Table is not updated when data is $unset (context.server) #478

Open
aessig opened this issue Sep 24, 2017 · 1 comment
Open

Table is not updated when data is $unset (context.server) #478

aessig opened this issue Sep 24, 2017 · 1 comment

Comments

@aessig
Copy link

aessig commented Sep 24, 2017

When ReactiveTable is used with pub/sub on the server side (only in this case), the table is not updated when a field is unset. I have dug inside the code and it seems like the publication is working correctly but the local Mongo.Collection is not updating accordingly. Any help is welcome

@aessig
Copy link
Author

aessig commented Sep 24, 2017

The behaviours is even stranger has if a sub element like "name" in $unset, local database will be updated, but not if it's a first level element like "job"

{ 
   contact: {
        name: "Peter"
   }
   job: "Director"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant