View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003178||OXID eShop (all versions)||3.1. Design, GUI, UX||public||2011-08-24 15:56||2011-08-31 13:48|
|Product Version||4.5.1 revision 38045|
|Target Version||Fixed in Version||4.6.0_beta2|
|Summary||0003178: alternative deliveryadress does not keep userinput in case of input failure|
The page/checkout/user.tpl looks like being designed for keeping userinput in case of invalid inputs.
If a user want to edit an existing adress, but submits invalid data the changes won't be saved and the userinput will be lost.
Smarty checks if isset($deladr), but the variable isn't set, so it uses the old data from the user object.
|Tags||No tags attached.|
It's even worse than that.
I had the same thought and saved the last delivery address (in case of failure) and put it into $deladr. But that doesn't work, because the form fields are always cleared by the onchange handler of the address select box.