G-Node / G-Node/g-node-portal

No cache invalidation after object relation update

Open
#53 0 comments 0 reactions 1 assignee Claimed by @asobolev View on GitHub
BUG "serious" P "medium"
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

_Scenario_: An object of type analogsignal is attached to a specific segment by updating the analogsignal's "segment" field. Retrieving the affected segment results in a new entry under "analogsignal_set" (as intended). However, the ETag of the segment remains unaltered, presumably due to "passive" relationship information only being established upon request. This results in undesirable behavior where the segment still appears to be attached to the analogsignal whereas requesting the analogsignal shows otherwise.

_Proposed solution_: Passive changes (i.e., relationship changes as a consequence of changes to other objects) should invalidate the ETag of the affected object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.