-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hpp icon and editor wysiwyg doesn't work #186
Comments
Hi @ptraing, Not sure if this problem is related to our extension. What is the url of the icons it is trying to get ? Regards, |
Hi @rikterbeek, For the WYSIWYG editor, I tested by rollback to version 2.0.6 of the adyen module, and I noticed that the wysiwyg was working. Then I put version 2.1.1 the wysiwyg was working too. It was when I added the pull request: #181 that the wysiwyg did not work anymore. For icons, I have as url: https://mysite.com/static/version1.0.0.244/frontend/Magento/blank/en_US/Adyen_Payment/images/logos/klarna.png in 404. (I'm talking about when I'm in production mode, in developer mode everything works fine) Regards, |
HI, Could you update to the develop branch and see if that is fixing the problem ? Regards, |
Hi @rikterbeek, I update with the develop branch, and I have the same problems :( :
The theme Magento\blank is not applied theme in my website. Mode: Production When I'm a developer mode always works. Regards, |
HI @ptraing, It could be not applied but used because of a fallback mechanisme. Regarding the WYSIWYG could you be more specific what is going wrong do you see any errors ? Regards, |
Hi @rikterbeek , I debug the file : https://github.com/Adyen/adyen-magento2/blob/master/Helper/PaymentMethods.php#L228-L248
And for Wysiwyg (we doesn't switch wysiwyg editor): For example, in content > pages > choose page and I have there are two "//" and editor_plugin.js is loading properly (code 200) it's strange .
I think that it's because of df.js because when i remove it, it work do you have the same thing? Thanks Philippe |
Hi @ptraing Magento should retrieve the theme id and not theme code (https://github.com/magento/magento2/blob/2.1.5/app/code/Magento/Theme/Model/View/Design.php#L163). Could you please check if you are affected by this issue (theme not registered in production mode) and apply the temporary fix that was suggested? Best Regards, |
Hi @ptraing I am closing this for now. Best Regards, |
Hi @jserveaux, I am not able to reproduce this on production level with minimified mode turned on. Regards, |
Hi Rick, Like I said, this test is on a standalone 2.1.5. M2 EE instance. Thank |
Hi Rick, Did you see my previous response ? What test or informations you need to have for reproduce this issue ? Thank |
Thanks for reporting this! Please let me know if this works for you. Best Regads, |
Fixes #186 Remove minify_exclude and load df.js on runtime
Hello,
I am at version 2.1.1 Adyen module with the pull request #181
Mode: Production
Bundling: Enabled
Merging: Disabled
Minifying: Enabled
Magento 2.1.5
Since I set up this pull request I don't see the payment hpp icons and I also noticed that the wysiwyg editor did not work too.
For wysiwyg editor :
I have as error Refused to execute script from 'http://mysite.com/admin/admin/cms_page/edit/page_id/80/key/24c9a5d4193359efb292097503463c3cc970244ebf10f5a64ca0f17e7b40fea8//plugins/nonbreaking/editor_plugin.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled
For payment hpp icons :
I have 404 not found for the icons.
When I'm in developer mode always work...
Have you an idea ?
Can you test if it works for you, please?
Did anyone else encounter this error?
Best regards
Philippe
The text was updated successfully, but these errors were encountered: