Prestashop: [BO] JS error in tinymce on "add new supplier" page

Created on 27 Jan 2020  路  7Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
When going on the "add a supplier page" (the page with the form to add a supplier), we sometimes have a javascript error related to tinymce.

It's not all the time, I had to refresh the page at least 20 times to reproduce this 馃槗

This is blocking some automated tests made by the QA team, so this issue should be taken seriously.

Steps to reproduce the behavior:

  1. Go to admin-dev/sell/catalog/suppliers/new
  2. Check for the error in the console
  3. Refresh until you have the error

Screenshots
image (1)

Additional information
PrestaShop version: 1.7.7.x

1.7.7.x BO Bug Fixed Regression Suppliers Trivial migration waiting for dev

Most helpful comment

@eternoendless must tell us whether we can upgrade TinyMCE version in migrated pages . This would create a small BC but would fix a lot of issues related to TinyMCE, and as pages get migrated, this would fix them.

All 7 comments

Same issue with 1.7.7.x

image
ps1.7.6.3 => OK
Thanks!

Impossible to debug this since we don't have source files of current tinymce and I was not able to build this version from the official TinyMCE repository, it should wait the upgrade of tinymce which is possibly breaking change for some modules (wdyt @eternoendless @PierreRambaud ?)

@eternoendless @PierreRambaud any news about @NeOMakinG 's comment ? what should we do ?

@eternoendless must tell us whether we can upgrade TinyMCE version in migrated pages . This would create a small BC but would fix a lot of issues related to TinyMCE, and as pages get migrated, this would fix them.

@NeOMakinG Could check that #17651 fixes this issue ?

It looks like #17651 fixed it :)

Feel free to open it again if you see the error!

Was this page helpful?
0 / 5 - 0 ratings