Skip to content

Add CMS widgets media export - #23

Open
dadolun95 wants to merge 2 commits into
mage-os:masterfrom
dadolun95:master
Open

dadolun95 wants to merge 2 commits into
mage-os:masterfrom
dadolun95:master

Conversation

@dadolun95

Copy link
Copy Markdown
Collaborator

Add management of image asset exports via export templates.

dadolun95 and others added 2 commits September 16, 2026 08:58
Widget parameters were only scanned for media assets inside
repeatable_*/conditions_encoded rows, and only when the value was a full
absolute URL. A plain (non-repeatable) image field, or any image field
storing the bare relative path the media browser actually fills in
(e.g. "wysiwyg/x.jpg"), was skipped entirely and silently missing after
re-import elsewhere.

Add collectMediaAsset(), which resolves any string widget parameter value
against the real pub/media filesystem (absolute URL, root-relative, or bare
relative form) and registers it as a template asset when it exists.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dadolun95
dadolun95 requested a review from a team as a code owner September 16, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant