Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
After installing changed the username and password of two demo account. Did this to login to both account for approving contact request. After approving trusted contact request (list of invitation) tried "Send private message" from "Private Messages & Invitations > Trusted Contacts" tab. Got the same error.
After receiving your comments, i thought this error is coming because username (real name remains same) has been changed. In fact if you change the username, user is removed from trusted contact list also.
Created two new set of users. Added one user as trusted contact for other user. Tried sending private message again. Reached same error page. Both user is receiving notification emails from system about "trusted-contact request pending" as well as about new post created.
Tries the same steps with latest dev copy also. No luck.
Disable un-needed modules: Commons Social Sharing, ShareThis
Install/enable required modules: Commons Documents, Media, File Entity, CK Editor Link, CK Editor Link Users, User Import, User Import Delete, Countries, Countries Configuration, Calendar
Set private file system path
Set Mollom protection for forms
Set Authenticated user permissions for Private messaging to allow 'Read private messages', 'Write new private messages', 'Delete private messages'
Create test accounts: Octavius Frederick and Finbarr Taylor
Log in as Finbarr, find Octavius' profile and add him as a trusted contact
Log in as Octavius, click the approval notification option in the heading and approve Finbarr.
Click the 'Trusted Contacts' tab and click 'Send private message' next to Finbarr
Enter a message and click send
Error message displayed "The following users will not receive this private message: Finbarr Taylor [user]. You must include at least one valid recipient."
Yup same here. By default the content we create has the username = realname. But if someone creates a username that is different than the real name, it fails. It seems like this was just a simple oversight. I've added it to the commons install profile.
Comments
Comment #1
ezra-g commentedSorry to hear that you're having trouble here. Adding to our 3.4 radar for triage.
Comment #2
ezra-g commentedI'm not able to reproduce this on a fresh install of Commons 3.3, even using the same demo user accounts shown in your screenshots.
Can you share specific steps to reproduce the problem?
Comment #3
neerajskydiver commentedTried again with latest copy of Commons 3.3
After installing changed the username and password of two demo account. Did this to login to both account for approving contact request. After approving trusted contact request (list of invitation) tried "Send private message" from "Private Messages & Invitations > Trusted Contacts" tab. Got the same error.
After receiving your comments, i thought this error is coming because username (real name remains same) has been changed. In fact if you change the username, user is removed from trusted contact list also.
Created two new set of users. Added one user as trusted contact for other user. Tried sending private message again. Reached same error page. Both user is receiving notification emails from system about "trusted-contact request pending" as well as about new post created.
Tries the same steps with latest dev copy also. No luck.
Comment #4
garyconroy commentedI'm seeing the same issue on a clean install of 3.3 and a newly set up user.
Comment #5
ezra-g commentedCan someone who can reproduce this please post detailed, numbered steps to reproduce?
Comment #6
garyconroy commentedComment #7
ezra-g commentedThanks for those steps, garyconroy! Setting back to "active".
Comment #8
japerryI've been taking a look at this, and can also reproduce.
Comment #9
jmesweeney commentedTry enabling the "Privatemsg Realname Integration module". https://drupal.org/node/1292874
Comment #10
garyconroy commentedThis fixed the issue for me.
Comment #11
japerryYup same here. By default the content we create has the username = realname. But if someone creates a username that is different than the real name, it fails. It seems like this was just a simple oversight. I've added it to the commons install profile.
http://drupalcode.org/project/commons.git/commit/28866c7
Comment #12
japerryA quick follow up here, we should be doing this in the privatemsg module instead:
https://drupal.org/node/2077223#comment-7807667
I've committed the patch to the make file, and reverted our update.
http://drupalcode.org/project/commons.git/commit/a7c431d
Comment #14
raushan commentedThanks for detail reply.