VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Studio 42 on September 15, 2015, 18:05:50 PM

Title: Product edit : manufacturer get removed on save
Post by: Studio 42 on September 15, 2015, 18:05:50 PM
Hi,
A Vm user reported me that the manufacturer was empty after save.
The problem seems only on chrome for mac OS : OS X Yosemite version 10.10.3

I checked the files and discovered 2 bugs. One is critical i think and i don't understand how this can work currently.
in ShopFunctions::categoryListTreeLoop line 610 :
$selected = 'selected=\"selected\"';
should be
$selected = 'selected="selected"';

Note so critical in product_edit_childs.php
the legend in child line 60 is outside table tag.

But at end, this not solve the problem, but in html validator i get more then 100 html validation error(most are simple attribute missing)

If someone can check the HTML, i think this solve the bug.

Thanks,
Patrick