Describe the bug
There's a problem with accessing modules configuration in modules tab in BO product page. When you click to configure any of the installed modules (in my case e.g. AN Product Extra Tabs Premium) the product is being saved without accessing product module configuration.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additionnal information
PrestaShop version: 1.7.5.0
PHP version: 7.0.33
Fix
Delete meta description in SEO tab, save, refresh.
Hi @futurehousestore,
Thanks for your report.
I manage to reproduce the issue with PS1.7.5.0 after upgrade from 1.7.4.4 to 1.7.5.0.
If before the upgrade, we have a product SEO complete, after the upgrade we have two issues in this product.
These issues happen only when we have a product SEO complete.
We will see how to fix it.
Here's the log file after the upgrade.
log.txt
Ping @Quetzacoalt91 what do you think?
Thanks!
Also tested on vanilla 1.7.5. - if you paste text into "Meta description", it is not updated in preview even if you save and refresh. It only works when you start typing into the description field.
This fix does not work.
The fix works fine for me
Hi,
I have done some tests on version 1.7.5.1, there is a small bug on SEO product, if the field meta description is empty, the preview SEO shows code!
Hi @Peterits, do you think the bug you found is related to this issue ?
If not, could you please open another issue ๐ it makes issues easier to track (and fix ๐ )
Yes you are right ! ๐
I discovered something (maybe) strange. Maybe it can be helpful to find a stable solution.
I installed a module (in my case Additional Product Attributes / Custom Product Fields) to be configured in the product "Module" tab. As described above, (sometimes) nothing happens (or opens) and I get immediately the typical green "Setup updated" message.
This problem only appears from the moment I write some "punctuation mark" like comma (,), point (.), exclamation mark (!), question mark (?).. in the meta description. Deleting all these characters makes the Module configuration work again.
To fix the problem (for all modules with the configuration in the product Module tab) in 1.7.5.0, you will have to do a find/replace in the adminXXX/themes/new-theme/public/main.bundle.js:
find
u(t.watchedDescription.val()).text()
replace by
t.watchedDescription.val().innerText
I could see the coming version 1.7.5.1 has this bug fixed already!
@Ybeske, this ticket is fixed with this PR: https://github.com/PrestaShop/PrestaShop/pull/11923, It is fixed in the next release 1.7.5.1.
Thanks!
Hi. I'm getting the same issue here, what do I need to do to solve it? I'm using 1.7.5.0
Thanks!
EDIT:
I followed @Ybeske instructions and it works. Is it ok to change PS files?
@rafaviana It is OK to change PS files if you need the fix now. However keep in mind that this will create problems when you upgrade to 1.7.5.1 .
In order to avoid problems when you upgrade, keep the old file (with the bug in it) somewhere. Just before performing the upgrade, put back the old file ๐ . The idea is that in order for the upgrade to work correctly, you need the files unmodified.
@Ybeske, this ticket is fixed with this PR: #11923, It is fixed in the next release 1.7.5.1.
Thanks!
Having 1.7.5.0, even with a fresh install to avoid the possible other conflicts with many modules.
From the moment I install a module (in my case: Product Fields manager) that creates a Module product tab, I also have issues with the specific price discount amount and dropdown menus ("% or โฌ" and "incl/excl. tax" settings)... It seems the issue is linked to this one...
Please see attachment.
Until now I only fixed manually the find replace of the spoken code above:
find
u(t.watchedDescription.val()).text()
replace by
t.watchedDescription.val().innerText
Any fix available?
Thanks in advance.
Hi @Ybeske,
This is a different issue, can you open a new one with more information about your configuration.
Thanks!
Still having this issue with 1.7.6.5 version :(
Most helpful comment
Fixed by https://github.com/PrestaShop/PrestaShop/pull/11923