Custom error message is not used

Created on 20 February 2024, 9 months ago

Problem/Motivation

The module provides a custom "Error message" field for when users hit the limit. But this is not used, instead the default is used.

Steps to reproduce

  1. Create a flag and apply the "Limited flagging per flag by user" checkbox
  2. Set the "Error message" field
  3. Apply the flag to content and attempt to exceed the limit of flags.
  4. Default "You can add only @max_count flagging." is shown regardless of error message set.

Proposed resolution

Patch to follow.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom a.hover

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024