-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix(server): do not list album activity for assets that are not in the album anymore #18927
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
Conversation
Actually, I wonder if this could instead be handled with DDL with something like |
well it depends, how the functionallity is supposed to work. I see 2 possibilities
|
option 1: d6626fa |
I think it makes sense for the activity to be reset when you remove the asset. You should update the table definition under |
I'm not exactly sure what you guys are using here, I thought at first it was typeorm, but looks like some custom lib |
Yes, it's an internal library to have TypeORM-like table definitions while using Kysely. |
Hello, can you help add e2e or a medium test for this? |
are we going to use this patch or the one in #19019 ? |
Ah sorry, probably the other one is preferred |
closing this PR as it has been superseded by #19019 |
Description
This is a minor fix to prevent listing album activity from assets that are not available anymore.
Fixes #17475
How Has This Been Tested?
See #17475
Checklist:
src/services/
uses repositories implementations for database calls, filesystem operations, etc.src/repositories/
is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/
)