Problem/Motivation

The options description says:

If checked, anonymous flaggings older than the session inactivity timeout (session.gc_maxlifetime) are deleted during cron runs. Session activity is not tracked, so flaggings of long-lived sessions are also removed once they exceed the timeout.

It's not clear to me, if the flag counter (sum) still stays the same after these entries have been deleted or if it decreases. It's important to clarify that.

Maybe it's clear for developers, but not for site owners / administrators.

Steps to reproduce

See the flag settings page.

Proposed resolution

Either add a sentence like "This has no effect on the flag count (total)" or "IMPORTANT: This will also reduce the total flag count"

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork flag-3635771

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Category: Task » Bug report

I think we should rate it as documentation bug, because if it decreases the total flag count, the consequences might be unexpected.

anybody’s picture

I think we should rate it as documentation bug, because if it decreases the total flag count, the consequences might be unexpected.

anybody’s picture

My hope was that flag count total stays, but investigations show it decreases!

I added that to the description and created a test with the help of AI to show it. I guess it's expected behaviour by the maintainers?
Even more important then to inform administrators about that effect!

anybody’s picture

Status: Active » Needs review

ivnish made their first commit to this issue’s fork.

  • ivnish committed 9e072677 on 5.3.x authored by anybody
    fix: #3635771 Clarify anonymous flag removal via cron
    
    By: anybody
    By:...
ivnish’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

anybody’s picture

Thank you @ivnish!!