You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/09/29 11:38:00 UTC
[jira] [Created] (OFBIZ-13624) getBlogEntry() only returns templateDataResourceId when the post has an image, silently corrupting the template of every text-only blog post on edit
Mridul Pathak created OFBIZ-13624:
-------------------------------------
Summary: getBlogEntry() only returns templateDataResourceId when the post has an image, silently corrupting the template of every text-only blog post on edit
Key: OFBIZ-13624
URL: https://issues.apache.org/jira/browse/OFBIZ-13624
Project: OFBiz
Issue Type: Bug
Components: content
Affects Versions: 24.09.07, Upcoming Branch
Reporter: Mridul Pathak
Assignee: Mridul Pathak
{{resultMap.templateDataResourceId = content.dataResourceId}} is gated behind {{if (imageContent)}}, but the servicedef declares it as an unconditional OUT attribute, and {{updateBlogEntry()}}'s change-detection depends on it always being present. Every edit of a text-only post now reverts the stored template. Fix: move that line out of the image gate, keeping only {{imageContentId}}/{{imageDataResourceId}} gated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)