Closed (fixed)
Project:
Album Photos
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2020 at 12:04 UTC
Updated:
6 May 2020 at 22:29 UTC
Jump to comment: Most recent
Comments
Comment #2
jhmnieuwenhuis commentedI checked again.
It works as it should.
Probably i did not clear the cache after changing the cover image for an album.
Issue can be closed.
Regards,
Hans
Comment #3
nathaniel commentedSounds good. If you notice it doesn't update consistently somewhere, please let me know. It should clear automatically.
Comment #4
jhmnieuwenhuis commentedWhenever i change the cover image of an album i have to rebuild cache when i show the list of albums.
Otherwise the old cover is shown.
Regards,
Hans
Comment #5
nathaniel commentedThis has something to do with cache tags and views. Adding "photos_image_list" to Cache::invalidateTags when set to cover is clicked should do the trick for now. I would like something more efficient than that, but I don't see how to get around it at the moment.
Comment #7
jhmnieuwenhuis commentedThat works !
Better then a complete cash rebuild.
I have the same issue when reordering the albums :
When i go to : photos/user/2/album-rearrange and change the order and then go to /photos/user/2/album
the order is still the old order, until i rebuild cache.
Same if i go to my own album list view.
And during the testing i somehow ended up with two albums who both had a weight of 0.
I think that two albums with the same weight should not be possible. If that occurs, a complete reorder should be done.
Regards,
Hans
Comment #8
nathaniel commentedComment #10
nathaniel commentedI think this is fixed now, please re-open or start a new issue if you notice any others. Thanks!