Characteristic duplicate ;-(

  • Posts: 152
  • Thank you received: 11
2 years 2 months ago #344387

-- url of the page with the problem -- : demo.hikashop.com
-- HikaShop version -- : 4.6.1
-- HikaMarket version -- : 4.1.0
-- Joomla version -- : 3.10.10
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome

1) demo.hikashop.com/index.php/en/hikamarket/vendor-control-panel

2) i create the Demo99 characteristic

3) reload page

4) the newly created characteristic is duplicated ;-(

Attachments:

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
2 years 2 months ago #344393

Hello,

By "reloading" the page, you are re-sending the form data to create your "demo99" characteristic.
So, you're creating it a second time.
And if you refresh the page the same way, you'll doing it again.

What you're omitting in your workflow, is the browser popup which is asking you if you want to resubmit the form.
pasteboard.co/ke48Ya3CJuV3.png

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 152
  • Thank you received: 11
2 years 2 months ago #344453

I have seen the pop-up, but I don't understand the usefulness of having two characteristics with the same name.

I did the same test on the Products page, the inserted product is not duplicated.

An "inattentive" vendor who does not pay attention to the popup may end up with two characteristics with the same name.

Regards

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
2 years 2 months ago #344470

Hello,

I see your point.
We will add a "post redirect" when the characteristic is saved and we will also check if other component would need the same.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: gerryna09

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

Moderators: Obsidev
Time to create page: 0.050 seconds
Powered by Kunena Forum