Commit 020686d
fix(tests): green the integration doctype suite after widget-reconciliation
The `test-integration` suite (TestMxCheck_DoctypeScripts) started failing once
the multi-version pluggable-widget reconciliation landed. Two showcase scripts
regressed — both because reconciliation stopped masking genuine widget
incompleteness, not because of a defect in the generated BSON:
32-pluggable-widget-object-lists-v010.mdl (modelsdk): the OL09 HeatMap only set
its SCALECOLOR entries and never bound a data series, so mx check reported
CE0642 "Property 'Series'/'Value attribute' is required". Reconciling the
HeatMap definition to the installed .mpk correctly marks those required (the old
embedded template understated it). Complete the example with the widget-level
DataSource / HorizontalAxisAttribute / VerticalAxisAttribute / ValueAttribute
binding, mirroring the passing HeatMap in 34-chart-widget-examples.mdl — the
object-list showcase now demonstrates a complete, deployable heat map.
17-custom-widget-examples.mdl (both engines): the IMAGE showcases author
bare/default static-image-mode Image widgets to demonstrate the IMAGE keyword's
basic/dimensions/onclick syntax. MDL exposes no property to bind a static image
resource (only imageUrl mode), so a default Image is legitimately
"No image selected." — exactly what a freshly-dropped Image shows in Studio Pro.
It previously passed only because a stale Atlas_Core.Content.Mendix template
default masked it; that default caused CE0463 and was removed in the Image
CE0463 fix. Whitelist the message for this script via scriptKnownCEErrors
(now documented to also accept a message substring where an error carries no CE
code), matching the existing syntax-showcase-limitation pattern.
Verified on Mendix 11.12.1: all three previously-failing subtests pass; mendixlabs#32
retains only the globally-tolerated Maps CE0463.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JXnEgoc2NQP1Y2TWMCMXC41 parent f2cb922 commit 020686d
2 files changed
Lines changed: 29 additions & 4 deletions
File tree
- mdl-examples/doctype-tests
- mdl/executor
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
388 | 394 | | |
389 | 395 | | |
390 | 396 | | |
| |||
394 | 400 | | |
395 | 401 | | |
396 | 402 | | |
397 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
398 | 409 | | |
399 | 410 | | |
400 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
130 | 144 | | |
131 | 145 | | |
132 | 146 | | |
| |||
0 commit comments