Author Topic: Product details: failed to setPrimaryKey leads to COM_VIRTUEMART__PKEY  (Read 1826 times)

rvbgnu

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 137
    • Puma-IT.ie
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
Code: [Select]
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Thx
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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 137
    • Puma-IT.ie
You're more than welcome Max  8)
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