Bug report: "Link" custom field repeatedly adds quotes around label on each prod

  • Posts: 235
  • Thank you received: 7
  • Hikashop Business
2 hours 29 minutes ago #373301

-- HikaShop version -- : 6.5.2
-- Joomla version -- : ‎6.1.3
-- PHP version -- : 8.3.31

Hi HikaShop team,

I've encountered a bug regarding the "Link" type custom field on products. Each time the product is opened and saved, HikaShop adds an extra pair of quotation marks around the link's label/text value.

Steps to reproduce:

Go to Display > Custom fields and create a new field for the Product table.

Set its type to Link (e.g., column name: product_series_url).

Open any product in the backend and fill in this field:

URL: /abb/soft-starters/psr

Text / Label: Софтстартеры PSR

Click Save.

Save the product again without changing this field.

Repeat saving several times.

Observed result:
With every save, another layer of double quotes is prepended and appended to the label value. After several saves, it turns into:
"""""""""Софтстартеры PSR"""""""""

It looks like the text string gets re-escaped or improperly parsed each time the form data is processed on save.

Expected result:
The field should retain its original text string (Софтстартеры PSR) regardless of how many times the product is saved.

Could you please look into this and advise on a fix or patch?

Thank you!

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

Time to create page: 0.054 seconds
Powered by Kunena Forum