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

Hide "older" entries from not being updated by updateRelations #117

Open
phorward opened this issue Aug 13, 2020 · 3 comments
Open

Hide "older" entries from not being updated by updateRelations #117

phorward opened this issue Aug 13, 2020 · 3 comments
Labels
feature New feature or request

Comments

@phorward
Copy link
Member

Similar to the updateLevel flag at relationalBones, it might be useful to provide generally a generic way to mark entities as "too old to be updated" at some point, so these entries won't be updated by the updateRelations task.

Following use-case: There is an database entry representing a task. The task's relationalBones should be updated all the time when something changes. At some point, the task is marked as "completed". And 1 year later, nobody will every take a view into this task again - so its relationalBones are not worth to be kept updated. Therefore, the entry is marked as "archived" or some kind, and updateRelations won't match it anymore.

@phorward phorward added the feature New feature or request label Aug 13, 2020
@tsteinruecken
Copy link
Contributor

Not sure how we could implement this in a sane way. Either we'd have to create a deferred/periodic task that checks for these entries and the actively rewriting its viur-relations objects when expired - or have them sit indefinitely as active and update them once more after they expired (whenever that may happen). If no-one will take a look anyway - can't you just delete all tasks older than 6 Month or so?

@tsteinruecken
Copy link
Contributor

Is this still an issue?

@phorward
Copy link
Member Author

Is this still an issue?

yes

@phorward phorward added this to the ViUR-core v3.7 milestone Feb 26, 2024
sveneberth pushed a commit to sveneberth/viur-core that referenced this issue Jan 30, 2025
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.3.6...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants