Single dropdown custom field SQL truncated

  • Posts: 61
  • Thank you received: 6
  • Hikaserial Standard Hikashop Essential
8 months 1 week ago #360268

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.3
-- PHP version -- : 8.1.27

Hi,
I have a single dropdown custom field populated by a sql query
the query is 435 chars long but when saved the query is truncated to 420 chars

I've looked at the table 'hikashop_field' and the row 'field_options' where the query is stored is of type 'longtext' so the problem is not there.
any idea?

thanks

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
8 months 1 week ago #360271

Hi,

I have no problem on my end adding more than 420 characters for the MySQL query on my end.
There is no such restriction in the code, and indeed, the type of the column in the database shouldn't be a limitation either.
So I don't see how that's possible. I guess it would require some debugging in the administrator/components/com_hikashop/classes/field.php

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum