-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branchInternal Use Only: Has been fixed, specs passing and pushed to edge branch
Milestone
Description
if a remote delete is received everything works except observers of the scope are not notified.
This because collections never notify while data is loading (not sure why)
It seems though that the only broken case is when a nested scope is updated by an async notification. So a workaround is to add this code
Hyperstack::Internal::State::Mapper.bulk_update do
Hyperstack::Internal::State::Variable.set(target, :collection, target.collection)
end
immediately after
target.replace loaded_collection
in server_data_cache.rb
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branchInternal Use Only: Has been fixed, specs passing and pushed to edge branch