VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: mdousset on April 27, 2012, 00:25:36 AM

Title: Saving parent product removes all images from the children product
Post by: mdousset on April 27, 2012, 00:25:36 AM
Using VM 2.0.6, saving a top-level parent product will remove all images from the children products.  This is a very frustrating issue as it is causing data corruption.  If someone has a fix to this, please post it here so we can implement ASAP.

Thank you.
Title: Re: Saving parent product removes all images from the children product
Post by: MikeUK on May 16, 2012, 12:32:10 PM
Joomla! 2.5.3     VM 2.0.6         LAMP    PHP 5.2.16     Apache/2.2.17

Ok, I can confirm this is the case.

I'm not sure though that it is only when the parent product is saved.

I have noticed this happening this morning, but I do not believe I saved the product parent.

Testing. Will report back.

EDIT:  ok, yes, definitely happens on parent product SAVE. Images are removed, other child product details are intact.

@mdousset   can you add more info about your setup, in case it's related to that.
Title: Re: Saving parent product removes all images from the children product
Post by: mdousset on May 16, 2012, 16:28:50 PM
Sure, here is some more info:
############## System Details ##############
PHP Built on: Linux sunmtn-02.modwest.com 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686
Database Version: 5.0.51a-24+lenny5
Database Collation: utf8_general_ci
PHP Version: 5.2.6-1+lenny16
Web Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
Server PHP interface: apache2handler
Joomla! Version: Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0