Skip to content

Fixed: Two regressions in the minilang-to-Groovy conversion of ContentServicesScript.groovy (OFBIZ-13589) - #2009

Merged
mridulpathak merged 1 commit into
apache:release24.09from
mridulpathak:OFBIZ-13589-release24.09
Sep 15, 2026
Merged

mridulpathak merged 1 commit into
apache:release24.09from
mridulpathak:OFBIZ-13589-release24.09

Conversation

@mridulpathak

Copy link
Copy Markdown
Contributor

Backported from trunk (#2008).

…tServicesScript.groovy (OFBIZ-13589)

- copyContentAndElectronicTextandAssoc assigned content directly from a cached view (ContentWorker.getContentCache()) and then mutated it in place to build the copy, silently corrupting the shared, cached ContentDataResourceView entry for the original contentId; the original minilang cloned the value before mutating, and this restores that clone
- createMissingContentAltUrls's WebSiteContent lookup was missing a filterByDate() the original minilang had, so expired associations were also processed (over-processing only, no data loss)

Both fixes were verified against the original minilang and covered by a temporary RED/GREEN test before removal, and the content component's test suite passes unchanged.
@mridulpathak
mridulpathak merged commit c4d19d6 into apache:release24.09 Sep 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant