News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product details: failed to setPrimaryKey leads to COM_VIRTUEMART__PKEY

Started by rvbgnu, July 20, 2012, 22:53:54 PM

Previous topic - Next topic

rvbgnu

Hi,
I was tracking down another potential bug (see here http://forum.virtuemart.net/index.php?topic=90833.msg351312#msg351312) and I saw a weird language constant...

Currently working with VM2.0.8e on Joomla 2.5.6 PHP 5.3.1/5.2.3
Multi linguale shop, custom field type: Cart variant

Call from
index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=82&virtuemart_category_id=16&Itemid=181&lang=en

Debug stack
WEBROOT/libraries/joomla/language/language.php.JLanguage->_ : lineno 345() WEBROOT/libraries/joomla/language/language.php at line 345
WEBROOT/libraries/joomla/methods.php.JText::_ : lineno 160() WEBROOT/libraries/joomla/methods.php at line 160
WEBROOT/administrator/components/com_virtuemart/helpers/vmtable.php.VmTable->setObligatoryKeys : lineno 67() WEBROOT/administrator/components/com_virtuemart/helpers/vmtable.php at line 67
WEBROOT/administrator/components/com_virtuemart/helpers/vmtable.php.VmTable->setPrimaryKey : lineno 60()
WEBROOT/administrator/components/com_virtuemart/helpers/vmtable.php at line 60
WEBROOT/administrator/components/com_virtuemart/tables/product_prices.php.TableProduct_prices->__construct : lineno 66()
WEBROOT/administrator/components/com_virtuemart/tables/product_prices.php at line 66

=> $key = COM_VIRTUEMART__PKEY

Not critical IMHO, but I don't know VM2 enough to evaluate this.  8)

PS: keep oj the good work VM Dev team  \o/
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rvbgnu

Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart