Bug removing photos of the product

  • Posts: 427
  • Thank you received: 19
7 years 7 months ago #267590

-- HikaShop version -- : 3.0.1

Hi in the latest version of today I noticed the following problem. This prevents the removal of the photos of the product.

Attachments:
Last edit: 7 years 7 months ago by neo191987.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267605

Hello,

The fact that you can see the HTML uploader means that you have a JavaScript error in your web page.
Please open your Browser console in order to get more details about the JS error which stop the page processing and does not allow the HikaShop javascript to be executed correctly.

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: 427
  • Thank you received: 19
7 years 7 months ago #267624

Hi does not go any error. This problem occurs in the archives this week. In the archives of the previous week no problem. Testing clean install and there is the same problem.

Attachments:
Last edit: 7 years 7 months ago by neo191987. Reason: Testing clean install and there is the same problem.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267630

Hello,

As I wrote :

The fact that you can see the HTML uploader means that you have a JavaScript error in your web page.
Please open your Browser console in order to get more details about the JS error which stop the page processing and does not allow the HikaShop javascript to be executed correctly.

Unless you have completely deactivate the javascript in your browser ; that is not possible for you to see that upload field and not have any JS error.

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: 427
  • Thank you received: 19
7 years 7 months ago #267683

I have found the problem file and it is located administrator/components/com_hikashop/views/product/tmpl/form_imag.php
New changes cause problems for me.

Old

if(empty($this->editing_variant))
	echo $this->uploaderType->displayImageMultiple('hikashop_product_image', $content, $options);
else
	echo $this->uploaderType->displayImageMultiple('hikashop_product_variant_image', $content, $options);

New
echo $this->uploaderType->displayImageMultiple($uploader_id, $content, $options);

Last edit: 7 years 7 months ago by neo191987.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267686

Hi,

I don't understand why you have that patch without the other line of the patch:

$uploader_id = empty($this->editing_variant) ? 'hikashop_product_image' : 'hikashop_product_variant_image';
I'll talk with Nicolas in order to understand why the half of the patch has been added into the release without proper tests.

Thanks for the report.

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: 427
  • Thank you received: 19
7 years 7 months ago #267711

I just downloaded the last archive and it's all right. Thank you.

Last edit: 7 years 7 months ago by neo191987.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum