Closed deadlyw1re closed 7 years ago
If this occurs on the product or category wysiwyg fields, then it is probably a duplicate of https://github.com/magento/magento2/issues/6138, and this bug will be fixed in Magento 2.1.8: https://github.com/magento/magento2/commit/ba6612462c260da7cc534b6365623993a6fe4311
@hostep This occures in the wysiwyg editor itself, on the frontend the images are visible.
@deadlyw1re: Yes, but which wysiwyg editor? The one in the CMS pages/blocks shouldn't have this bug, only the wysiwyg editor on the product and categories edit forms if I remember correctly.
@hostep This bug occures on CMS pages/blocks and products/categories
@hostep I think the bug is back in 2.1.9. We are having the same problem in CMS Pages / Blocks. When you insert image in 2.1.8, we get <p><img src="{{media url="wysiwyg/Hond.jpg"}}" width="1024" height="683" /></p>
when we insert image in 2.1.9 <p><img src="http://local.magento/admin/cms/wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvVmVsZC5qcGcifX0%2C/key/d3f89696a93152f6d352e5d5cb391180a27c8a7924d9fe3b583d3e9f03d00753/" width="959" height="1024" /></p>
@PieterCappelle: that's weird, I can't really see anything at first sight in the diff between 2.1.8 and 2.1.9 which can cause this bug to re-appear.
Can you reproduce it on a clean 2.1.9 installation?
@hostep Tomorrow at MM17BE? Will show you my case.
Confirmed, tried it on a clean 2.1.8: no problem Then on a clean 2.1.9: and the problem you describe appears. God damned, I hoped we were finally rid of this bug, but it came back :(
(See you tomorrow at MM17BE :))
You should join the Slack channel of Magento. Let's fix this in the contribution day :-)
@deadlyw1re, thank you for your report. We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
Internal ticket to track issue progress: MAGETWO-80230
Internal ticket to track issue progress: MAGETWO-81305
I have the same issue on 2.2.0.
I experienced the same issue today and it kept me busy for a half day, but I found that at least my problem was not related to the Magento code.
One of the external extensions had a extra empty line at the beginning of the registration.php. This extra empty line was added at the beginning of the response. Which in turn made the browser not recognising the image and thus not showing it since it doesn't start with the required bytes.
I could find the registration.php that was responsible for this error by debugging trough app/etc/NonComposerComponentRegistration.php
simply put a echo $file;
after include $file;
if you see that the text (filenames) start on a new line you know it is the file that starts on that line.
Hi @deadlyw1re. Thank you for your report. The issue has been fixed in magento-engcom/magento2ce#1380 by @magento-engcom-team in 2.3-develop branch Related commit(s):
The fix will be available with the upcoming 2.3.0 release.
How to solve this error in Magento 2.1.8 version? Please help us if anyone know.
Preconditions
Steps to reproduce
Expected result
Actual result
<img src="http://domain/path-to-magento/adminurl/cms/wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvcGRmL3BkZi5wbmcifX0,/key/e44fd2b2430f15239de43de5a10cb958615b525bb7bca920ab2865c99ff7de7d/" data-mce-src="http://domain/path-to-magento/adminurl/cms/wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvcGRmL3BkZi5wbmcifX0,/key/e44fd2b2430f15239de43de5a10cb958615b525bb7bca920ab2865c99ff7de7d/">