Skip to Content Skip to Menu

[#3341] onAfterUserUpdate regression in v1.8

  • GUEST
12 years 7 months ago - 12 years 7 months ago #193917 by
Hello

In CB versions before 1.8 the onAfterUserUpdate event was either not fired after a user clicked on the link in the confirmation email OR it was fired but the $userObject->password was NULL.

In 1.8 after clicking the confirmation link first the onAfterUserConfirm and then the onAfterUserUpdate is fired BUT $userObject->password contains the hash code you can find in the password field in the Joomla user table.

We are using a CB plugin to sync the passwords on different websites and this change makes it very hard to do because usually when onAfterUserUpdate is fired (if a user has updated his profile) the password field was null (password was not changed) or contained the real password - but never a hash.

Why was this changed? How can I tell that this event was fired right after onAfterUserConfirm and so I can ignore the password.

Regards

Carsten
Last edit: 12 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
12 years 7 months ago #194051 by krileon
Replied by krileon on topic Re: onAfterUserUpdate regression in v1.8
Well we updated the direct database functions to use triggers now as it was needed for 3rd parties to be aware of users block state for example. However, some locations shouldn't fire a CB trigger like you're experiencing and have added the below bug ticket.

forge.joomlapolis.com/issues/3341


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • GUEST
12 years 7 months ago #194060 by
Thank you very much. I hope a fix will make it into 1.81.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
12 years 7 months ago #194104 by krileon
Replied by krileon on topic Re: onAfterUserUpdate regression in v1.8
Absolutely, we've already fixed this for 1 function; don't see why we can't fix it for another. :)


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum