[ 
https://issues.apache.org/jira/browse/OFBIZ-7002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295550#comment-15295550
 ] 

Jacques Le Roux commented on OFBIZ-7002:
----------------------------------------

This fixes the issue as long as you don't want to change the file. Then you get 
this error
{code}
     [java] 2016-05-22 14:43:19,043 |http-nio-8443-exec-8 |ControlServlet       
         |T| [[[updateTextContentCms(Domain:https://localhost)] Request Done- 
total:0.642,since last([updateTextConten...):0.642
]]
     [java] 2016-05-22 14:43:19,459 |http-nio-8443-exec-1 |ContextFilter        
         |W| [Filtered request]: /content/contentForum.css (/control/main)
     [java] 2016-05-22 14:43:19,701 |http-nio-8443-exec-6 |ControlServlet       
         |T| [[[main(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
     [java] 2016-05-22 14:43:19,705 |http-nio-8443-exec-6 |RequestHandler       
         |I| Rendering View [FindWebSite].  Hidden sessionId by default.
     [java] 2016-05-22 14:43:19,764 |http-nio-8443-exec-6 |ServerHitBin         
         |I| Visit delegatorName=default, ServerHitBin delegatorName=default
     [java] 2016-05-22 14:43:19,764 |http-nio-8443-exec-6 |ControlServlet       
         |T| [[[main(Domain:https://localhost)] Request Done- total:0.063,since 
last([main(Domain:http...):0.063]]
     [java] 2016-05-22 14:43:19,901 |http-nio-8443-exec-3 |ControlServlet       
         |T| [[[stream(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]     [java] 2016-05-22 
14:43:19,901 |http-nio-8443-exec-3 |ControlServlet                |T| 
[[[stream(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
     [java] 2016-05-22 14:43:19,904 |http-nio-8443-exec-3 |DataEvents           
         |I| Got resource data stream: 0 bytes
     [java] 2016-05-22 14:43:19,905 |http-nio-8443-exec-3 |DataEvents           
         |E| Unable to write content to browser
     [java] java.io.IOException: Attempt to write 0 bytes of content to output 
stream
     [java]     at 
org.ofbiz.base.util.UtilHttp.streamContent(UtilHttp.java:1073) 
~[ofbiz-base.jar:?]
     [java]     at 
org.ofbiz.base.util.UtilHttp.streamContentToBrowser(UtilHttp.java:1034) 
~[ofbiz-base.jar:?]
     [java]     at 
org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:211) 
[ofbiz-content.jar:?]
{code}

Sorry, but enough for me today...

> Images are not rendered in content
> ----------------------------------
>
>                 Key: OFBIZ-7002
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7002
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>         Attachments: OFBIZ-7002.patch
>
>
> When you get to content/control/WebSiteCms?webSiteId=CmsSite and add a new 
> image in the tree, it's no rendered. Same at 
> {code}
> content/control/EditLayout?drDataResourceId=NOCONTENTFOUND&contentId=NOCONTENTFOUND
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to