Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorpbear
    • CommentTimeAug 23rd 2006
     # 1
    I'm not finding this mentioned, so here goes...

    I've got a conflict with these extensions:
    • Account Pictures 1.0a from 2006-06-04
    • PredefinedAttributes 0.3.3 from 2006-07-03
    • (in Vanilla 1.0.1)

    If I go as a new user who has filled out PredefinedAttributes in the registration process and click on the Account page, all is well. My information is there. If I select the Personal Information under Account Options in the Panel, likewise.

    But if I select Account Pictures and upload a new image (icon or picture), it wipes my PredefinedAttributes out! Reloading the Account page shows they're gone, and loading the Personal Information page shows those items set to their defaults.

    When I click "Save" in Account Pictures, I get the following in my php_error.log:
    PHP Notice: Undefined property: User in /Applications/MAMP/htdocs/forum2/extensions/PredefinedAttributes/default.php on line 504
    This is line 504 and surrounding (n.b. of PredefinedAttributes as given in the error):
    /*////////////////////////////////
    // @name: PredefinedAttributes_AddFromPersonalInformation
    // @description: called by delegation and 'redirects' to function in class
    // @param: Object AccoutForm
    // @return: -
    */
    function PredefinedAttributes_AddFromPersonalInformation($UserManager) {
    $pa = new PredefinedAttributes($UserManager->Context, $UserManager->User);
    $pa->AddFromPersonalInformation($UserManager);
    }
    $Context->AddToDelegate('UserManager', 'PreIdentityUpdate', 'PredefinedAttributes_AddFromPersonalInformation');

    I took a peek in the database and the PredefinedAttributes column is empty for this account. It is properly filled for other accounts where I did not revisit the Account Pictures. It does not affect "Attributes" column (i.e. the Vanilla default Label-Value pairs).

    After some more testing, if I resave my Personal Information, the same error is logged via the "Save" button on that page. The error does not occur at all if PredefinedAttributes is off, though Account Pictures enabled apparently adds a little data clearing to the mix. :(
  1.  # 2
    Has this issue been resolved? I'm using Account Pictures now, but would like to add Predefined Attributes also.
    •  
      CommentAuthorpbear
    • CommentTimeNov 14th 2006
     # 3
    Not that I know of. I've just left Account Pictures out of the picture. Having your predefined attributes get zapped for no apparent reason is not fun.
    •  
      CommentAuthor3stripe
    • CommentTimeNov 19th 2006
     # 4
    I just experienced this as well. Hmm.
Add your comments
    Username Password
  • Format comments as