You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "mridulpathak (via GitHub)" <gi...@apache.org> on 2026/09/22 07:34:19 UTC
[PR] Fixed: createReturnItem() does not cap returnPrice to returnablePrice for non-privileged callers [ofbiz-framework]
mridulpathak opened a new pull request, #2082:
URL: https://github.com/apache/ofbiz-framework/pull/2082
In createReturnItem(), non-privileged callers (those without ORDERMGR_CREATE) are documented to have their returnPrice capped to the server-computed returnablePrice. The assignment was overwriting returnablePrice with the caller-supplied parameters.returnPrice instead of the other way around, so the subsequent ceiling check compared the input against itself. This restores the intended assignment direction, matching the original mini-lang logic prior to its Groovy conversion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: createReturnItem() does not cap returnPrice to returnablePrice for non-privileged callers [ofbiz-framework]
Posted by "mridulpathak (via GitHub)" <gi...@apache.org>.
mridulpathak merged PR #2082:
URL: https://github.com/apache/ofbiz-framework/pull/2082
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: createReturnItem() does not cap returnPrice to returnablePrice for non-privileged callers [ofbiz-framework]
Posted by "golja (via GitHub) via notifications" <no...@ofbiz.apache.org>.
golja commented on PR #2082:
URL: https://github.com/apache/ofbiz-framework/pull/2082#issuecomment-6637510375
CVE-2026-100228
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org