Created on 20 July 2018, over 6 years ago
Updated 9 August 2023, over 1 year ago

If i use realname module - i can't send messages. There some issues relate to autocomplete widget
1. checkPrivateMessageMemberExists method in Mapper\PrivateMessageMapper.php. method can't find user by his realname. so, when you open add message form - validation of user name fails.
2. even if validation if checkPrivateMessageMemberExists success, after submit form appearing message "There are no entities matching "USERNAME". Origin in validateEntityAutocomplete (Drupal/Core/Entity/Element/EntityAutocomplete.php) which don't get uid in username, because submitted name don't have it. Submitted value is "USERNAME", instead of "USERNAME (UID)". When form loaded in first time i can see that http://prntscr.com/k8ypcn (default value like "USERNAME (UID)"), but if check value, it's already will be without uid http://prntscr.com/k8ypui . So, some javascript change it.
Hope this help and someone can continue searching to fix this incompatibility with realname module.

Problem in private_message_members_widget.js, in init method. addUserToMembers called without uid.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine cosolom

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024