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/10/03 18:13:00 UTC
[jira] [Created] (OFBIZ-13641) Do not evaluate the Ajax update area string of forms twice as an expression
Mridul Pathak created OFBIZ-13641:
-------------------------------------
Summary: Do not evaluate the Ajax update area string of forms twice as an expression
Key: OFBIZ-13641
URL: https://issues.apache.org/jira/browse/OFBIZ-13641
Project: OFBiz
Issue Type: Bug
Components: framework/widget
Affects Versions: 24.09.07, Upcoming Branch
Reporter: Mridul Pathak
Assignee: Mridul Pathak
MacroCommonRenderer.createAjaxParamsFromUpdateAreas builds the CSV string for the update areas from the area id, the target (already evaluated by UpdateArea.getAreaTarget) and the parameters (already evaluated and URL encoded), and then evaluates the whole string again as a FlexibleStringExpander. This was added in OFBIZ-5227 when the string held the raw values of the XML. Only the area id is still a raw XML attribute, so values that come from the request and are already evaluated are evaluated a second time.
h3. Plan
* Evaluate the area id on its own and remove the evaluation of the whole string.
* Backport to release24.09.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)