Skip to content

Commit 27dd6c4

Browse files
akoclaude
andcommitted
fix: replace generated Image template with Studio Pro extraction
The hand-generated template used wrong field names (Description vs WidgetDescription, IsPluginWidget vs WidgetPluginWidget, etc.) and was missing system properties (Name, Visibility), causing CE0463 "widget definition changed" and CE0572 errors. Replace with a real extraction from test3.mpr (Mendix 11.8.0) where the Image widget was created and validated in Studio Pro. Also add Image widget to mxcli extract-templates command for future re-extraction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b903ca3 commit 27dd6c4

2 files changed

Lines changed: 1457 additions & 1354 deletions

File tree

cmd/mxcli/cmd_extract_templates.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func runExtractTemplates(cmd *cobra.Command, args []string) error {
8181
{"com.mendix.widget.web.datagriddatefilter.DatagridDateFilter", "datagrid-date-filter.json", "Date filter"},
8282
{"com.mendix.widget.web.datagriddropdownfilter.DatagridDropdownFilter", "datagrid-dropdown-filter.json", "Dropdown filter"},
8383
{"com.mendix.widget.web.datagridnumberfilter.DatagridNumberFilter", "datagrid-number-filter.json", "Number filter"},
84+
{"com.mendix.widget.web.image.Image", "image.json", "Image"},
8485
}
8586

8687
extracted := 0

0 commit comments

Comments
 (0)