[TYPO3-commerce] fe_user is updated in pi4 at "edit" even if is_main_address is not set

Ingo Schmitt is at marketing-factory.de
Tue Mar 30 10:39:33 CEST 2010


Hi Benny,

a quick solution: Delete the email - field rules in the observer, if a address is edited, the email in the fe_user won't be changed.

Regards

Ingo

> Hi Volker,
> 
> thanks for your answer.
> I have the following problem with this:
> 
> In most cases it is not necessary, that the delivary address email field is mandatory.
> So if a customer edits a delivery address, his fe_user email is overwritten with the empty email field from the delivery address.
> Therefore the customer is from now unable to use functions as "forgot your password" from fe_login. Newsletters cannot be delivered an many more side effects.
> 
> I think the fe_user should only be overwritten when editing the billing address.
> 
> Greetings Benny
> 
> Am 29.03.2010 18:13, schrieb Volker Graubaum:
>> Hi Benny,
>> 
>> > if we edit an delivery address during checkout process (not create!!),
>> > the original fe_user data is updated even the is_main_address flag is
>> > not set.
>> >
>> > Is this a bug, or did we miss any options? This happens, because in the
>> > pi4 line ~972 the hook-method "afterAddressEdit" is called, which
>> > notifys the dao field mapper (observer).
>> 
>> it's a feature not a bug ;-)
>> BUT it can become a bug, we had this problem in one project.
>> 
>> Is main address ist not the important thing, but the address ID in the
>> fe_user table.
>> 
>> I'm not sure about the best way right now, but maybe you can give us
>> some ideas? ;-)
>> 
>> Otherwise we will work at this topic in the next version.
>> 
>> Greetings Volker
> 
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list