Author Topic: Next VM versions will have the same Default Value limit in Custom Fields?  (Read 3571 times)

virtueb

  • Beginner
  • *
  • Posts: 43
Please test vm3.2.3

I updated now to 3.2.3 but there is the same limit on default product description, is this limit still there? I thought it will be removed...

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26415
  • Always on vacation
    • Jenkin Hill Internet
There is a hidden config, dbpsdescsize  - https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html  - I thought that was for increasing the table size (I have not tested it), which is very likely to impact on page speed, so is there for experienced users.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC

virtueb

  • Beginner
  • *
  • Posts: 43
There is a hidden config, dbpsdescsize  - https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html  - I thought that was for increasing the table size (I have not tested it), which is very likely to impact on page speed, so is there for experienced users.

Many thanks friend :)

In /administrator/components/com_virtuemart/helpers/tableupdater.php I fond following code:

Code: [Select]
$fields['product_desc'] = 'varchar('.VmConfig::get('dbpdescsize',18400).') '.$linedefault;
Would it be danger if I make there a corehack to:
Code: [Select]
$fields['product_desc'] = 'TEXT '.$linedefault;
Or can I override tableupdater.php without to losing data after updates?


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9411
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
hidden config dblayoutstrict=0 does the same for you
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/