1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Duplicate Username Didnt Update

Discussion in 'Resolved Bug Reports' started by Tilkißey, May 10, 2011.

  1. Tilkißey

    Tilkißey Well-Known Member


    hi,
    i found this bug while i was writing add-on

    my 3rd user's username was "test"
    i changed it to "user3" 5-6 days ago
    but, there is no username update in conversation page

    regards...
     

    Attached Files:

    • bug.png
      bug.png
      File size:
      16.4 KB
      Views:
      5
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. ragtek

    ragtek Guest

    No, it's not duplicated.
    It's the "same problem" but on an other place.
    xenforo also "caaches" the last username and the username of the first sender of the conversation, so if somebody changes his name, this will also not be changed too.
    PHP:
    'xf_conversation_master' => array(
    'conversation_id'       => array('type' => self::TYPE_UINT,   'autoIncrement' => true),
    ...
    'user_id'               => array('type' => self::TYPE_UINT,   'required' => true),
    'username'              => array('type' => self::TYPE_STRING'required' => true'maxLength' => 50),
    ...
    'last_message_username' => array('type' => self::TYPE_STRING'default' => '''maxLength' => 50),
     
    Vincent likes this.
  4. Mike

    Mike XenForo Developer Staff Member

    The previous fix will resolve this as well.
     
    Tilkißey likes this.

Share This Page