Private Message autocomplete to multiple friends not working
| Project: | User Relationships |
| Version: | 6.x-1.0-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | alex.k |
| Status: | closed |
| Issue tags: | rc3block |
Jump to:
first of all, thanks for the excellent work on the entire UR package... works exceptionally well!! :)
similar to the problem mentioned here: http://drupal.org/node/522078
i have noticed a bug when sending private messages... i love the option to send messages to only those members that I have a relationship with, but it seems that when selecting that option in the admin interface, it causes the Private Message "to" field to be limited to only 1 contact...
so, if I have 5 members that I have a relationship with, and I opt to only allow sending messages to my friends, the autocomplete only works for the first name... any additional names dont fire off the autocomplete lookup...
let me know if there is any additional information i can provide to help better explain the situation...
thanks!

#1
I'm embarrassed to admin I just noticed the 6.x-1.x-dev release. Should I try installing that version first? Does anyone know if my issue is addressed in the most recent version?
#2
Gosh, you are correct, when "Suggest only relationships in To: field" is on, autocomplete only works for the first entry. When the setting is off, it works for more than one entry.
#3
Fixed in http://drupal.org/cvs?commit=279578. Please test, as it rewrote the way autocomplete is constructed.
#4
Excellent, thanks! I'll give it a go this afternoon, and report my findings.
#5
Working like a charm...
My test scenario: User 1 sent a message to users 2, 3 and 4 (all currently user 1's friends). The private message setting was restricted to confirmed relationships only, and worked as expected (only the names of user 1's friends appeared in the autosuggest).
Logged in as user 2, viewed message from user 1, and replied to all. Received notice that user 1 had requested to not receive messages from user 2 (I had had user 1 block user 2's private messages, but the message was successfully delivered to users 3 and 4).
Logged in as user 3, viewed message from user 1, and replied to all. Received notice that user 4 was not my friend (but the message was successfully delivered to users 1 and 2).
Thanks again!
Steve
#6
Automatically closed -- issue fixed for 2 weeks with no activity.