Page 1 of 1

Admin - Product description cannot insert images

Posted: Sun Oct 20, 2013 2:43 am
by jayhuang
Hi all,

I am running the demo app on localhost, at the product editing page on admin console, when I click the
"Select/Upload Asset" button on the text editor of product description, a dialog pops up and loads images of the site, then I click the upload button and upload an image, when upload completes, the dialog closes and nothing happens, the uploaded image is not inserted. Then I open the dialog again, the new image was on the top of the list, but when I double click the image, the dialog closes and nothing is inserted into the text editor. I am on firefox 24.0, when I doube click the image I want to insert, firebug shows an 404 error



Code: Select all

"NetworkError: 404 Not Found - https://localhost:8444/cmsstatic/product/1/2013-03-14%2021.08.37.jpg"

I tried to insert existing images and the same error occurred. An img tag is inserted into the text editor with a "src" attribute that is not correct.

Now I've inserted my uploaded image into product description that is not showing on the editor, when I click save, an error occurred,



Code: Select all

org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.standard.processor.text.StandardTextInliningTextProcessor'
   at org.thymeleaf.processor.AbstractProcessor.process(AbstractProcessor.java:223)
   at org.thymeleaf.dom.Node.applyNextProcessor(Node.java:914)
   at org.thymeleaf.dom.Node.processNode(Node.java:869)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)
   at org.thymeleaf.dom.Node.processNode(Node.java:888)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)
   at org.thymeleaf.dom.Node.processNode(Node.java:888)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)
   at org.thymeleaf.dom.Node.processNode(Node.java:888)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)
   at org.thymeleaf.dom.Node.processNode(Node.java:888)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)
   at org.thymeleaf.dom.Node.processNode(Node.java:888)
   at org.thymeleaf.dom.NestableNode.computeNextChild(NestableNode.java:638)
   at org.thymeleaf.dom.NestableNode.doAdditionalProcess(NestableNode.java:620)



Any help would be much appreciated.
Thanks

Re: Admin - Product description cannot insert images

Posted: Sun Oct 20, 2013 11:35 pm
by phillipuniverse
Sounds like a bug, could you open an issue at https://github.com/BroadleafCommcerce/B ... rce/issues

Re: Admin - Product description cannot insert images

Posted: Mon Oct 21, 2013 3:12 am
by jayhuang