• Remember to address to the Bug Tracking guidelines and to follow the instructions in the post ticket template.
  • Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Confirmed Number of file inside album/sub-album

Version
4.1.4
PHP version
8.2.20
Database driver
MySQL
Database version
8.0.37-0ubuntu0.22.04.3
Web browser
Chrome

mikaa

Chevereto Member
▶ Reproduction steps
  1. Visit a user profile > Check an album with sub-albums.
😢 Unexpected result

Not sure if it's a bug, but when we check the number of file on an album, the album only shows the number of files in itself and doesn't take into account the files in a sub-album (which can make an album look empty with 0 files displayed), so maybe it's a good idea to add the two together (at least for the user's main page).

1720685720910.png
1720685738283.png
 
Yeah. Ideally, this would be able to show
  • 'all assets contained within parent album and its' children'
  • 'number of sub-albums'
  • 'assets in sub-albums as opposed to assets in parent album'
 
Do we have any news about this one?
There's an issue with counters which really bugs me and is the fact that the stored counters in database only represent the full album contents, not the request-user aware count. Sub-albums don't inherit permissions from its parent, meaning that to really determine the count of these objects needs to be dynamic, using CTE, which I can now finally run thanks to the bumped MySQL support carried with the 4.2 (Tags) update.

The current situation is that there's an ongoing tags issue reported that also rely on CTE, the wise move is to wait until we settle all CTE related issues before implementing it on more systems.
 
There's an issue with counters which really bugs me and is the fact that the stored counters in database only represent the full album contents, not the request-user aware count. Sub-albums don't inherit permissions from its parent, meaning that to really determine the count of these objects needs to be dynamic, using CTE, which I can now finally run thanks to the bumped MySQL support carried with the 4.2 (Tags) update.

The current situation is that there's an ongoing tags issue reported that also rely on CTE, the wise move is to wait until we settle all CTE related issues before implementing it on more systems.
Thanks for the clarification!
 
Back
Top