VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: rinkitori0123 on January 16, 2012, 11:33:55 AM

Title: Validate SKU bug
Post by: rinkitori0123 on January 16, 2012, 11:33:55 AM
Hi,

When i create two product and save with same SKU, it do not validate and still saved.

Thanks, regards!
Title: Re: Validate SKU bug
Post by: Cleanshooter on January 16, 2012, 22:37:14 PM
It will save but it will modify the SKU in the database so they are not the same.  If you go back into both products you will see one is different.
Title: Re: Validate SKU bug
Post by: rinkitori0123 on January 17, 2012, 03:07:50 AM
Quote from: Cleanshooter on January 16, 2012, 22:37:14 PM
It will save but it will modify the SKU in the database so they are not the same.  If you go back into both products you will see one is different.

Hi,
After saved SKU of two products are the same in database and products list.

(I'm using Virtuemart version 2.0.0 and joomla 1.7.3)

Thanks! regards.
Title: Re: Validate SKU bug
Post by: dmuntean on January 17, 2012, 04:00:37 AM
I've noticed this as well. I assume that since each product is tied to a unique virtuemart_product_id, it has no problem duplicating skus.