Closed (fixed)
Project:
Album Photos
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 May 2021 at 00:16 UTC
Updated:
1 Jun 2021 at 22:39 UTC
Jump to comment: Most recent
Hi Nathaniel,
I just found a small bug that is the image quantity statistics won't work when using the entity form.
I tried to switch to "Update count when cron runs", then I had the Cron run, but it didn't work either.
I was wondering would it possible if you could look into it.
Not that urgent. Thanks in advance!
Comments
Comment #2
kingto commentedComment #3
nathaniel commentedThanks for the bug report. I'm not sure how to reproduce this. Are there any errors in the log when adding an image with the entity form? On /user does the image count update?
It does look like there is a bug with the entity add form that updates the count even if cron is selected, so that should probably be fixed.
Comment #4
nathaniel commentedI think I see an issue if "Authored by" is disabled in the form display. Working on a fix for that.
Comment #6
nathaniel commentedFixed issue if authored by is disabled on the form display. Added code to update count when images are deleted.
The cron functionality needs some work. Looks like it is only triggered if cron has not run for 2 hours. Then it loops through every user/album. That might be problematic on large sites.
Comment #7
kingto commentedTested excellent!! I should have thought of that :)
Appreciate it!
Comment #8
nathaniel commented