- Issue created by @s_castro
That's right, In the latest version, there's no way the user can unsubscribe after subscribing. Unless we clear the system cache. I had to revert to version 2.2.13 to fix the label.
- π¬π·Greece walkero
I am experiencing the same problem. I just started setting up this module, and it seems not to work properly because of this issue. I wonder if it is recommended to get back to the older version and if there will be an update path in the future.
- πΊπΈUnited States rex.barkdoll
I'm adding in as well. I'm getting a 403 Ajax error whenever trying to unsubscribe.
-
jurgenhaas β
committed 142e0255 on 2.3.x
Issue #3377551: Link label is not updated correctly after user Subscribe...
-
jurgenhaas β
committed 142e0255 on 2.3.x
- Status changed to Needs review
9 months ago 3:35pm 13 February 2024 - π©πͺGermany jurgenhaas Gottmadingen
Your observation was absolutely right @s_castro that the caching was the reason for this broken behaviour. That was introduced in π Huge performance issue on sites with a lot of entity types and bundles Fixed and increased the performance a lot. However, it cached the widget operations per entity type and entity id, but forgot about the user. These widgets are individual for each entity per user, so the user ID needs to go into the cache ID as well.
That alone didn't fix it yet. We also need to reset the cache for an entity if the subscription status for that entity changes for a specific user.
Both parts have been fixed and it seems to be working correctly now. Please give it a try.
- Status changed to Active
9 months ago 10:40pm 20 February 2024 - πΊπΈUnited States rex.barkdoll
Upgrading to the current dev version fixed my issue and seems to be working well.
- Status changed to Fixed
9 months ago 11:06am 21 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.