Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57FE4200BA4 for ; Sat, 15 Oct 2016 19:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 56AA1160AF1; Sat, 15 Oct 2016 17:06:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0431160AD9 for ; Sat, 15 Oct 2016 19:06:21 +0200 (CEST) Received: (qmail 578 invoked by uid 500); 15 Oct 2016 17:06:20 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 565 invoked by uid 99); 15 Oct 2016 17:06:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2016 17:06:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6CC862C0086 for ; Sat, 15 Oct 2016 17:06:20 +0000 (UTC) Date: Sat, 15 Oct 2016 17:06:20 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (OFBIZ-7000) You cannot edit an image in content MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 15 Oct 2016 17:06:22 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15578398#comment-15578398 ] Jacques Le Roux edited comment on OFBIZ-7000 at 10/15/16 5:06 PM: ------------------------------------------------------------------ OK it works after cleaning all. I'll try to backport !Image 018.png! was (Author: jacques.le.roux): OK it works after cleaning all. I'll try to backport > You cannot edit an image in content > ----------------------------------- > > Key: OFBIZ-7000 > URL: https://issues.apache.org/jira/browse/OFBIZ-7000 > 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 > Priority: Minor > Attachments: Image 018.png, OFBIZ-7000.patch, OFBIZ-7000.patch, nocontentfound.png > > > If you get to > {code} > content/control/EditLayout?drDataResourceId=NOCONTENTFOUND&contentId=NOCONTENTFOUND > {code} > When trying to editing you get an error > {code} > 2016-04-11 10:48:42,932 |http-bio-8443-exec-9 |ScreenFactory |I| Got 9 screens in 0.004s from: file:/C:/projectASF-Mars/ofbiz/applications/content/widget/layout/LayoutScreens.xml > 2016-04-11 10:48:43,051 |http-bio-8443-exec-9 |ScriptUtil |W| Error running script at location [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]: org.ofbiz.b > ase.util.GeneralException: The desired mime-type is not a text type, cannot render as text: image/png > org.ofbiz.base.util.GeneralException: The desired mime-type is not a text type, cannot render as text: image/png > at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:624) ~[ofbiz-content.jar:?] > at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:603) ~[ofbiz-content.jar:?] > at org.ofbiz.content.data.DataResourceWorker$renderDataResourceAsText.call(Unknown Source) ~[?:?] > at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-all-2.4.5.jar:2.4.5] > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-all-2.4.5.jar:2.4.5] > at EditSubContent.run(EditSubContent.groovy:50) ~[?:?] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)