- 🇩🇪Germany blecheimer
Hello this patch solved my problems (described like above) please consider to apply this patch in next release
When allowing anonymous users to create a personal flag, while using the "Field entry form" link type, the flagging status is not remembered for that user. It seems that the Flag module does not assure that a session has been created when using the "Field entry form", resulting in a session variable that gets destroyed immediately. As soon as the anonymous user refreshes, the flag-link is reset as if the user never used the flag.
The flag module should assure a session has been started when creating a flag via the field entry form. This could maybe be done in the "save" function of "FlaggingForm"?
The "flag" function of FlagService calls a function called "ensureSession" (also part of the FlagService), but the "Field entry form" link type never uses the FlagService, so the "ensureSession" function is never called.
None
Unknown
Unknown
Active
4.0
Flag core
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hello this patch solved my problems (described like above) please consider to apply this patch in next release