Problem/Motivation

In the GroupMembershipRequest.php constraint message is
public $message = 'User "%name" is already a member of group';

but in the Validator the violation parameter is '@name'.

      $this->context->addViolation($constraint->message, [
        '@name' => $group_content->getEntity()->getDisplayName(),
      ]);

So the error message is 'User "%name" is already a member of group'

CommentFileSizeAuthor
#2 3298558-2.patch902 byteskecsot

Comments

kecsot created an issue. See original summary.

kecsot’s picture

StatusFileSize
new902 bytes
kecsot’s picture

Status: Active » Needs review

  • LOBsTerr committed 64440de on 1.0.x authored by kecsot
    Issue #3298558 by kecsot: Typo in GroupMembershipRequestValidator
    
lobsterr’s picture

Status: Needs review » Fixed

Thank you for your contribution

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.