Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bug (?): private message to two members


  • Greg
    Participant

    @rebootnow

    I just want to see if someone else can repro this before I open a bug in trac.

    I am on WPMU2.7.1 and BP1.02. I have repro’d this on a 100% stock install using the default member theme.

    Steps:

    1. Browse to USER1’s profile page

    2. Press “send message”, which opens compose message page with USER1 pre-populated in “to” line

    3. Add USER2 manually to “to” line

    4. Type a subject and message body

    5. Press send

    Result:

    – Message is sent to USER1, but *not* to USER2

    – Sent message page says “Sent between USER1 and admin.” – no mention of USER2

    Strangely, using the skeleton member theme, I get the opposite (i.e. the message only goes to USER2).

    Has anyone else seen this?

Viewing 14 replies - 1 through 14 (of 14 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Here we go again. Burt, Jeff, man your battle stations. :)

    We’ll take a look at it.

    Right now on testbp.org it looks like it’s working correctly. Was this an upgrade from a previous BuddyPress install, and if so, did you upgrade your member theme files also?


    Burt Adsit
    Participant

    @burtadsit

    I wonder if the messaging system uses cookies?

    It doesn’t sound really like the issue the 3 of us found. Does it? I just got finished working with somebody yesterday. His problem was that creating one group after another on the same computer caused the 2nd group to adopt the group id of the 1st group.

    The underlying issue and solution was that he didn’t have any cookie domains set in wp-config.php

    https://buddypress.org/forums/topic.php?id=3452

    These cookie issues are tough to debug. We do the ‘works for me’ thing because our wpmu instances are different. Right now bp relies on the wpmu instance supplying the cookie path and domain. Perhaps to cover such situations bp should specify it’s path and domain. Would that bypass the wpmu credentials? Would it matter?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    They would get loaded after the WPMU ones, so if there’s no check for them pre-existing, then they obviously overwrite them.

    I currently don’t have a cookie_domain setup in wp-config.php either and everything works fine. It should get assigned by WPMU in wp-settings.php if it isn’t in the config.

    In the wp-config.php file, verify:

    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'domain.com' );
    define('PATH_CURRENT_SITE', '/' );
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOGID_CURRENT_SITE', '1' );

    …where domain.com is obviously your domain. If you are using any settings unlike what I posted above, paste them here please.


    Burt Adsit
    Participant

    @burtadsit

    His cookie domain info was set to “”. It’s not that it wasn’t set. It was set to null. So if wp gets to a spot where it wants to set it to a sane default value, it detects that it’s already set and doesn’t. Probably. The empty string is a value.


    Burt Adsit
    Participant

    @burtadsit

    We don’t even know if cookies are the issue.


    Jeff Sayre
    Participant

    @jeffsayre

    All this talk about cookies is making me hungry.

    Initially it sounded similar to the multi-messaging bug that we discovered 4 weeks ago. But that bug did still successfully send the messages to all the email recipients. It was just that the contents of the email were blank depending on whether you were the first person on the recipients’ list or the second.

    This is different since the email is simply not sent to the second person.


    Jeff Sayre
    Participant

    @jeffsayre

    Someone reporting email issues with groups as well: https://buddypress.org/forums/topic.php?id=3183


    Greg
    Participant

    @rebootnow

    Thanks all. Just to clarify, it is not only a question of the email message not being sent. The private message itself is only sent to one of the recipients. It is as if I only had one name on the “to” line.

    Also, this was an upgrade from 1.01. I assumed that the member themes were automatically upgraded too, but it sounds like that was a bad assumption. Did they change between 1.01 and 1.02?


    Burt Adsit
    Participant

    @burtadsit

    Always upgrade themes when upgrading bp they are part and package. The themes are the front end to new and fixed features.


    Greg
    Participant

    @rebootnow

    I went over to testbp.org and this issue repros there too. When sending a message to two people where the first one is added to the “to” line using the “send message” button and the second person is added manually, the message only goes to the first.

    @JJJ, did you follow exactly the repro steps that I provided?

    @Burt, thanks – I used the auto-upgrade and had forgotten the about the theme directory gymnastics that one needs to do at the end of an install.


    Greg
    Participant

    @rebootnow

    Bumping this to see whether I am the only one who can see this fairly basic bug. I have repro’d on a site with no customization and standard themes, and on testbp.org.


    Greg
    Participant

    @rebootnow

    I just realized that JJJ’s question a few posts up is directed at me.

    @JJJ, No, I haven’t changed these settings in wp-config.php.

    Does messaging use cookies? And if so, would it have this result? Just to reiterate, it is not only that mail doesn’t get sent to the second recipient. No message gets sent at all to the second recipient (they don’t even appear as a recipient in sent items).

    And I have repro’d the issue on tesbp.org.

    Report a bug please.


    Greg
    Participant

    @rebootnow

    I was hoping for at least one independent confirmation of the issue, but your wish is my command. Ticket #840 in trac.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Bug (?): private message to two members’ is closed to new replies.
Skip to toolbar