Repository navigation
v0.33.0
[0.33.0] - 2026-11-22
Headline: check catches far more type and reference errors before the build, native mobile apps get their navigation and widgets, and four new lint rules read the model's design. Values, variables and list operations are type-checked in microflows, a dropped attribute a document still uses is refused, and mxcli writes keys in Studio Pro's order so a first open no longer rewrites what mxcli wrote. create navigation NativePhone builds a native profile with its bottom bar, and native mobile pluggable widgets build without CE0463. New lint rules MPR016-MPR019 report overlapping domain model boxes, a one-valued Boolean flag, a model element named in a string literal and an unindexed XPath attribute; published REST services and business events gain operation-level editing; and nightly builds can be pinned and rolled back.
Added
-
create navigation NativePhone, with its bottom bar (#1912) — a native profile (Navigation$NativeNavigationProfile, which has noKind) can now be created, and the profile's{ }block writes its bottom bar (NativePages$BottomBarItem), so a home page whose layout needs a bottom bar no longer stops at CE6108. The bottom bar is flat and page-only: a nested group or anOnClickother thanshow pageis refused. An icon is a glyph (Icon: glyph <code>,Forms$GlyphIcon); a collection or image icon is refused. The shape is pinned against one Studio Pro-authored NativePhone profile (seenewNativeProfileBson), so replacing a stored bottom bar is refused when one of its items holds anything else — another type, a key mxcli does not write, a non-glyph icon — instead of dropping it. Hybrid profiles remain unsupported. -
alter published rest service … add operation in resource '<name>' { … }anddrop operation <method> ['<path>'] in resource '<name>'(ako#2449, #1903) — one operation of a stored resource, written ascreatewrites it, added or removed without restating the service; the resource's other operations, and everything MDL cannot spell about them, are written back as stored. An operation the resource already has, or a resource it does not have, is refused by check and exec. -
A business event message's operations are its children, and one message can both publish and subscribe (ako#2490) —
message X (…) { publish (Entity: M.P); subscribe (Entity: M.C, Microflow: M.H); };writes one message with both flags and two operations; a consumed service's subscription isconsume X (Entity: …, Microflow: …);. Declaring a message twice, once per operation (the only way before), stored two messages of one name and the deployment failed ("An item with the same key has already been added");checkandexecnow refuse it. The keyword clausespublish entity … microflow …andconsume X entity … microflow …still parse as deprecated aliases (MDL-DEPR075, MDL-DEPR076), andfmt --upgraderewrites them. -
Lint
MPR019: an attribute an XPath constraint filters on with no index leading with it (ako#2407) — every such query scans the table, and nothing else reports it:mx checkis clean and demo data hides it. Severityinfo, because whether an index earns its place depends on table size and write rate, which the model does not know; it names a candidate rather than asserting a defect.Coverage is tested against an index's leading attribute, not membership: a composite index on
(Status, Date)does nothing for a query onDatealone, and treating membership as coverage would make the rule wrong rather than merely quiet. Only attributes of the entity the XPath targets are considered — one reached across an association belongs to the other entity, and reporting it here would blame the wrong document.Attributes carrying a
Uniquevalidation rule are treated as covered. That is an admission rather than a claim: whether Mendix also creates a database index to enforce uniqueness was not established, and it decides the question. Without the exclusion the only findings on the 900-unit Studio Pro-authoredtestdata/testappwere two attributes both declaredunique— so atinfoseverity, where a false candidate costs more trust than a missed one costs performance, the exclusion keeps every finding the rule makes a true one.uniqueAttributesrecords how to settle it.Sort orders are not covered, though #2407 lists them: no sort column exists on any catalog table, so they need the flow and page models read. XPath constraints are the richest source and are catalogued, so they are v1 on their own.
Measured: the planted defect reports the unindexed attribute and the one that is only the second column of a composite index, while the single-column indexed attribute is not reported; adding an index leading with the reported attribute clears exactly that finding. 0 findings on
testdata/pedapp,testdata/testapp-viewsandtestdata/testapp. -
Lint
MPR018: a model element named inside a string literal (ako#2405) — a flow that passes'Module.SomeFlow'as text has no reference for any checker to follow, so renaming or moving that element passes Studio Pro, mxbuild andmxcli check --referencesand fails at runtime. mxcli has a particular stake in it: it makes renaming cheap and scriptable, andcheck --referencesis sold as the thing that catches a stale reference. Measured on the premise itself: mxbuild reported 28 errors before the rename and 28 after, naming the renamed microflow in neither.Two verdicts. A literal that resolves to a real element is a warning — the rename trap. A literal whose module exists but whose name resolves to nothing is
info, since a string may legitimately look like a qualified name.The precision comes from two deliberate narrowings. It reads string literals, not whole expressions: an expression's own references are dotted too (
$Var/Mod.Assoc/Attr,Mod.Enum.Value) and those are real references Studio Pro renames, so scanning expressions would report every association path in a project. And it reads only the fields that hold a value —Expression,Argument,Value, matched by name through reflection so a new action type is covered when it is added — never the sibling fields that hold references (Parameter,JavaActionCallAction.JavaAction,MicroflowCall.Microflow), which would flag every call. One further test removes nearly all remaining noise: the dotted prefix must be a module the project actually has, which excludes prose, paths, URLs, CSS selectors and Java packages such ascom.mendix.core.Corewithout enumerating any of them.Measured: 0 findings on
testdata/pedapp, ontestdata/testapp-views, and on the 900-unit Studio Pro-authoredtestdata/testapp— the last being the real sample, sincectx.Microflows()is platform-filtered and a Marketplace-heavy project mostly measures nothing. The planted defect is reported, ordinary prose and a Java class name are not, and after renaming the named flow the warning correctly becomes the dangling-nameinfo. -
checkwarns about a required pluggable-widget setting left unset (MDL-WIDGET56) — a native gallery without a data source, a slider without an attribute or a repeater without content passedcheckand exec, then failed the build with CE0642 ("Property 'X' is required"), or CE4899 for a text.checknow reads the installed package and warns about each required setting the script leaves out. A setting with a usable default, or one the widget hides in its current configuration, is not reported. Measured on the 39 native widgets placed with no settings:checkreports exactly the 30 settings thatmx check11.13.0 reports. -
checkwarns about a pluggable widget on a page of the other platform (MDL-WIDGET55) — a web widget such ascombobox,datagridorimageon a native page, or a native one such asnativesliderornativegalleryon a web page. Both passedcheckand exec before. The platform comes from the widget's package (embedded template or the project's.mpk). A page is judged only when its layout's platform is known, from the script or the project. It is a warning: what mxbuild reports for either case is not measured. -
Lint
MPR017: a Boolean flag a decision tests but which can only ever hold one value (ako#2403) — the branch it guards is unreachable, and the flow reads as though it has a safety interlock when it has none. Nothing else reports it: the model is valid and the build is clean.The test is the attribute's reachable value set — its default plus every literal any Create/Change activity assigns — not "is it ever written". The defect this comes from is a reset flag that is written, only ever to
false, so a "never written" rule would have missed the case it was raised for; and a default oftruewith the only writefalseis two values, so that guard can change state once and is correctly not reported. Four exclusions keep a write the rule cannot see from reading as no write: bound to a page widget (a user may type into it), assigned from an expression rather than a literal, calculated, or not read in any condition. Writes are collected from every module including Marketplace ones, while only the project's own attributes are reported. Boolean only for now — enumerating "the literals I could see" is a far weaker claim for other types.Blocked by ako#2417 on a project's first lint run.
AttributesForfails with "no such table: attributes" when lint builds the catalog rather than loading it, so the rule cannot see attributes until a second run. Rather than report a clean project, it refuses: "MPR017 could not run: read N entities but no attributes". The guard distinguishes "no entities, nothing to check" from "entities but no readable attributes" and is to be deleted when #2417 is fixed. -
Lint
MPR016: entities whose boxes cover each other on the domain model diagram (ako#2406) — the sibling of MPR008, which does this for microflow activities. The diagram is the first thing someone opening an unfamiliar app reads, and a box behind another box is a member list they never see; neither Studio Pro's check nor mxbuild reports it, because the model is valid. A pair is named as a pair, and a cluster that collides transitively is ONE finding however large — a model with every entity on one spot is 1 finding, not 325 pairs. The repair is the command the finding names,mxcli layout --only-overlapping.Box geometry is
dmlayout's own estimator (an entity stores only its top-leftLocation; Studio Pro derives the box when it draws, so the size is estimated from the name and member list), so the rule and the placer agree by construction rather than by being kept in step. The PREDICATE is new and deliberately not the placer's:Rect.TooClosekeeps boxes a 20px clearance apart, which is what placing needs, while a finding must be true — two entities 10px apart are badly laid out and do not overlap.Rect.Intersectshas no margin, and a test pins the difference.Measured: 0 findings on
testdata/pedappandtestdata/testapp-views, and 0 on 24 entities of varied name length and attribute count (0 to 21) created with no@position, sodmlayout's auto-placement, fullPlanand--only-overlappingrepair all satisfy the rule. Planted overlaps — a pair, a tall entity reaching the box below it, and a pile of four — are each reported, andmxcli layout --only-overlappingtakes the project back to 0 by moving 5 of 10 entities. Platform modules are skipped: a rule that reads the model does not inherit the catalog'snotPlatformModulefilter, and before that was added the rule reported 41 System entities (LintContext.OwnedModuleNamesByIDis the Go counterpart of that SQL).
Changed
checkandexecrefuse an agent with aModelbut noSelectedModel(ako#2289) — MDL-AGENT02 is now an error, not a warning, when the agent names aModel: Studio Pro reports it as AE018 ("Model version is required for an agent"), and Agent Editor 2.2+ refuses to import any agent at startup while one is present. Behaviour change: a script thatexecused to apply with a warning is now refused until it statesSelectedModel: '<model id>'(or is run with--no-check). It stays a warning for an agent with noModel. Acreate or modifythat leaves the key out still keeps a stored selected model and is not flagged, and the project check stays silent for AgentEditorCommons before 2.2. The skill, syntax help, docs and examples now give every agent with aModelaSelectedModel.
Fixed
-
docker checkandfix widgetssay when update-widgets resets a value instead of resyncing a widget (ako#2507) — a CE0463 caused by a script value in a property the widget's editorConfig hides was labelled "stale widget definition —mxcli fix widgetsfixes it", andfix widgetscleared it by resetting the value to the widget's default without a word.docker checknow names the properties update-widgets resets on that widget, andfix widgetslists every value it replaced. -
widget describesays when a widget's hide rules could not be read (ako#2507) — a widget whose editorConfig.js hides properties through its own helper listed "(none discovered)", which read as "hides nothing", and a script value in such a property was CE0463 with no pointer to why. It now says the editorConfig.js is there and none of its hide calls is one mxcli reads. -
checktypes anifwith a date token in a branch as a DateTime (ako#2508) —if $P/CreatedAt = empty then [%CurrentDateTime%] else $P/CreatedAtassigned to a DateTime member was refused as a String (E009), and mxbuild builds it. Anifis now typed by its branches, a date token among them. -
checkrejects a JSON structure custom name that Mendix refuses (ako#1258) — acustom name maporitem ofname such as1bad,has space,Größe,_, an empty string, or a reserved word in any case (Owner,ChangedDate,Type,Id,class,null) passedcheckandexec, and the build reported CE9524 "invalid custom name". New MDL-JSON03, which needs no project. A member whose JSON key is invalid ($type,research%3Aread) still needs no custom name: its default is sanitised. Measured on MxBuild 11.16.1 over 90 names. -
Lint MPR017 and MPR019 no longer report external entities, and MPR017 counts mappings as writes (ako#2501, ako#2502) — MPR019 told the owner of a frontend app to add 39 indexes, every one on an external entity whose table lives in the publishing app. MPR017 reported "can only ever be false" for an attribute assigned by a database-connection query's
Map:, by an import mapping, or by an external service, none of which is a Change activity. External entities are skipped by both, and an import mapping's value elements and a query's mapped columns count as unknown writes. Export mappings, message definitions and view entities are not yet covered. -
A published REST service rewrite says which operations it removes (ako#2449, #1903) —
create or modify published rest servicenaming only a new operation deleted the stored ones, and exec said only "Modified".checkand exec now warn with the operations removed (MDL-REST06), andcheckrefusesalter … add resourcewith a stored resource's name anddrop resourceof a missing one, as exec does. -
import … linkworks through a self-association stored as a table (ako#1686) — both junction columns were named after the one entity, so the insert failed (column "myfirstmodule$personid" … does not exist). The column names now come frommendixsystem$association, and without a row a self-association's two are numbered as Mendix names them (…personid1parent,…personid2child, measured on 11.12.6). -
A statement appended after an activity with an error handler goes after the handler's rejoin (ako#2489) —
create or modify microflowspliced it between the activity and the merge its handler rejoins, so the error path skipped the new statement, and the next exec of the unchanged script was refused (MDL-V1-REBUILD). It now goes after the merge, and the script re-runs unchanged. -
checknames the missing entity step in[Assoc.Attr …](ako#2491, #1916) — an XPath constraint that joins an association and its far end's attribute with a dot ([Car_Assignment.ReturnedOn = empty]) was reported as an unknown association, and MDL047 suggested anot(…)that kept the dotted name. With-p, the access-rule and retrieve checks now say the entity step is missing and give the path ([Repro.Car_Assignment/Repro.Assignment/ReturnedOn = empty]); without a project, MDL047's suggestion offers that reading too. -
A hand-written
create external entitymaps its attributes to the contract (ako#2497) — every attribute was stored as a local value, with no key and$top/$skipoff, so mx check reported CE6612 on each attribute, CE6010 and CE6630 on a contract the bulk import builds clean. Each stated attribute is now the contract's property of that name, as the bulk import maps it. A name, type, missing key or capability that contradicts the contract is refused, and a statement with no attribute list imports them all. -
OData enum properties are imported (ako#2477, #1913) —
create external entitiesdropped a property typed as a vendorEnumType, and adding it back by hand was CE6612 (or CE4597 with an ordinary enumeration). It is now an enumeration attribute of an enumeration generated from the contract, as Studio Pro makes one.create or modify enumerationkeeps such an enumeration's link to the contract, andalter entity … add attributeon an external entity is refused up front (CE6612). -
describe --format elk pagekeeps a data grid's slot widgets (ako#2465, #1910) — a DataGrid2's column content, column filters, control bar and empty-state placeholder were missing from the JSON tree. Columns now carrychildrenandfilter, and the grid carriesslots(a gallery's filters too). -
checkrefuses a data view in a layout and a misplaced sidebar toggle (ako#2461) — adataviewin a layout (CE6086), a toggling region with nosidebartoggle(CE0611), a toggle outside the layout's one top-level scroll container (CE0628) and a toggle on a page or snippet (CE6086) passed check and exec and failed the build. They are now MDL-LAYOUT01..04. -
alter layoutreaches the widgets of a layout built on another layout (ako#2462, #1907) — a widget inside a nested layout'splaceholder Main { … }was printed by describe but refused byalter layout … on <widget>as "widget not found". The placeholder fills are now searched, as a page's are. -
A business event message stores its String lengths, and describe pairs each message with its own operation (ako#2490) —
String(36)andString(unlimited)in a message were dropped, so the build applied 200 and reported the length differing from the entity's. They are now stored (a bareStringstill stores none, as before) and described back. A message declared once per operation was described with the later operation twice. -
fix design-propertiesand the repair aftermarketplace installkeep Studio Pro's conversion records (ako#2487, ako#2492, #1917) —mxdrops a one-time conversion record it does not know when it re-saves the project, so after Studio Pro 11.16.1 recordedUseMeToSetupNodeConversion, the next fix removed it and Studio Pro asked to convert the project again. A record the stored project has is now put back. -
The catalog finds an attribute used through a microflow's local variable (ako#2468, ako#1258) —
$One/Titleafter a database retrieve,$New/Titleafter a create and$Item/Titlein a loop over a retrieved list were in no reference, soshow referencesandimpactanswered "not referenced" andcheckpassed the drop of the attribute (mx check: CE0117). The variable's entity is read from the retrieve, the create or the list the loop walks; a name declared with two different entities is not guessed. A data view's object and a retrieve over an association still do not resolve. -
A data view in a grid's own control bar can listen to that grid (ako#2476, #1911) —
DataSource: selection dgItemson a data view insidedgItems'controlbar {}passed check and was refused by exec with "widget not found: dgItems". A pluggable widget's name is now known before its slots are built. -
A view entity column added in the script can be used in the same script (ako#2463, #1908) —
create or modify view entityadding a column followed by a microflow aggregating over it was refused ("has no member"), because the column was looked up in the stored entity. A view entity the script declares is now read from the script. -
checkreports a REST call's binary body that is not Binary (ako#2409, #1897) —Body: BINARY $Filewith a FileDocument object, a String literal or a String member passed check and failed the build with CE0117. It is now reported, and for an object the fix names$File/Contents. -
checkreports a variable defined twice inside analter microflowfragment (ako#2478, #1914) — a replaced loop body that declared$Nand then made it acount()output passed check and exec, and the build failed with CE0111. MDL063 now runs over each fragment, as it does over acreatebody. -
mxcli testwithout a Docker daemon leaves the project untouched (ako#2474) — a run without--localwhere no daemon runs failed atdocker compose up, after it had generated a.docker/stack and built into it. It now asks the daemon first and stops with the--localhint before writing anything. -
mxcli newsays the first Studio Pro open may convert the project (ako#2467) — the templatemx create-projectships can be one conversion behind the Studio Pro of the same version (11.16.1 addsUseMeToSetupNodeConversionand aSetupSettingsunitmxnever writes), so a fresh project prompts for a conversion on first open.mxcli newand the quickstart now say so, and to commit that conversion on its own. -
mxcli writes keys in Studio Pro's order (ako#2467) — mxcli wrote an element's keys in its own order, so the first Studio Pro open rewrote every unit mxcli had touched with identical content, and the next mxcli edit flipped it back. Every unit mxcli writes now has
$ID,$Type, then its keys in case-insensitive order, as Studio Pro (10.24 through 11.14) writes them. A unit is reordered only when it is really changed, so an unchanged re-run still writes nothing. -
Studio Pro no longer rewrites a module's security or a JavaScript action call on first open (ako#2467) — an empty
ModuleSecurity.ModuleRoleslist was written with marker 1 and a JavaScript action call'sParameterMappingswith marker 3, where Studio Pro writes 3 and 2. Both are now written as Studio Pro writes them, and a unit an older mxcli stored is corrected on its next write. -
verify --applysays the scripts were applied when a later stage fails (ako#2468, ako#2447) —execwrites the project beforemx checkruns, so a failure after it leaves the failing change in the project, but the text ended in the sameResult: FAILEDas a gate that wrote nothing. It now adds that the scripts were applied and the undo is the caller's (git). The JSON already carriedapplied: true. -
The catalog finds an attribute used through a document's own parameter (ako#2468, ako#1258) —
$Card/Titlein a snippet's text template, a page widget, a microflow or a nanoflow was in no reference, soshow referencesandimpactanswered "not referenced" andcheckpassedalter entity … drop attribute;mx checkthen reported CE0117. A parameter declares its entity, so the bare attribute after it now resolves, and an association step off it too. A retrieve result, a loop item and a data view's object still do not (their type is not known to the catalog), so MDL108 is still silent for an attribute used only through one of those. -
create layouttakesfolder:(ako#2460, #1905) — the header property passed check and exec refused it as unknown. A layout is now filed in the folder as a page is, a rewrite with a different folder moves it, and describe prints the folder so its output files the layout where it is. -
checkreports an unknown function in acall rest serviceexpression (ako#2408, #1896) — a call such asbase64Encode(…)in a REST call's header, body, URL or timeout passed check and exec and failed the build with CE0117, while the same call in adeclarewas refused. Those expressions are now checked by MDL044 too. -
checkcompares a create/change member's value with the attribute's type, and reports a missing entity-type argument (ako#2464, #1909) —change $Obj (Code = $Guid)with an Integer for a String attribute (evenCode = 5) and a Java action call without its entity-type argument passed check and exec, then failed the build with CE0117 and CE0115. Member values now follow the measured conversion rules (Integer widens to Decimal and Long; other mismatches are reported), the results of microflow, nanoflow and Java action calls are typed where they are used, and an entity-type parameter left out of a call is reported. Other parameters left out build clean and are not reported. -
call javascript actionpasses a nanoflow to a Nanoflow-typed parameter (ako#2450, #1904) — the argument was written as an expression, which passed check and exec and failed the build (CE0115/CE0117); describe left nanoflow arguments out, so editing a call made in Studio Pro silently dropped them; andcreate javascript actionstored aNanoflowparameter as a String.param = Module.Nanoflowandparam = emptyare now written as Studio Pro stores them, an expression there is refused, describe prints them, and the parameter type is kept. -
The error handler of a
changeorsetrejoins right after its own activity (ako#2421, #1898) — when a later activity used the same variable, the handler rejoined after that activity instead, so at runtime an error in thechangesilently skipped every statement in between, and nothing reported it. A handler now waits only for the uses of a variable its activity creates (create), not one it changes. -
A flow call with a progress bar and no progress message stores an empty message, not null (ako#2448, #1902) —
call microflow|nanoflow … with (ProgressBar: Blocking)withoutProgressMessagepassed every check, but Studio Pro crashed exporting the page and errored when the field was edited. With a progress bar set, an empty text is now written, as Studio Pro does; with none, the message stays null. -
check -prejects dropping an attribute, entity or association that a document still uses (ako#2456, ako#1258) —alter entity E drop attribute,drop entityanddrop associationpassedcheck,execapplied them with at most a warning (drop entitysaid nothing), and the project stopped building:mx checkreported CE1613 on every microflow, nanoflow, page and snippet still using the target (CE0161 for an XPath). New MDL108 reads the catalog's references and names each user. A document the script itself drops, creates or alters, and a member the script adds back, are not reported; a source of another type (mapping, workflow) is not judged. The full catalog is built only for a script that has such a drop.execstill applies the drop. Measured on MxBuild 11.16.1, one project per case. -
make ci-localpasses on a clone without submodules (ako#2413) —TestIssue1640_RegisteredListMarkersAreWhatStudioProStoreswalkedtestdata/testapp, a git submodule (ako/TestApp) that CI checks out withsubmodules: trueand a plaingit clonedoes not, and fed the resultinglstaterror intot.Fatal. So the gate.claude/skills/steward/SKILL.mdtells every contributor to run before each push could never pass on a fresh clone, and a pre-existing failure was indistinguishable from one the current change had just caused.mdl/roundtripalready skipped the same fixture with a remedy message; the two now agree.The skip is deliberately not unconditional: under CI the test fails instead, because CI does check the submodule out, and a skip that could fire everywhere is how an integration test came to have only ever skipped (ako#808) — this census is the only thing holding
canon's list-marker registrations against Studio Pro-authored documents. The units floor moved from one total of 1000 to a floor per root (800 and 300), since dropping the 900-unit submodule leaves pedapp's 369 and would have tripped the old floor instead. Verified in all three states: present (runs), absent (skips, still censuses pedapp), absent withCI=true(fails). -
A freshly built catalog is one database again, so an iterator no longer fails while its neighbours work (ako#2417) — on a run that built the catalog rather than loading it,
lintcould reportcould not read the catalog for AttributesFor: no such table: attributeswhileEntitiesreturned rows in the same run on the same handle, and the next identical run was correct.catalog.New()opened:memory:, where every connection is its own separate, empty database, andsql.Openhands back a pool — so the schema landed on one connection and a query the pool served on another saw nothing. Which iterator broke was pool timing, which is why it reproduced on one project and not another. The in-memory catalog now uses a uniquely named shared-cache DSN with one pinned connection, so every pooled connection sees the same database. Measured: the firstlintof a fresh project reports what the second always did, and reverting only the DSN brings the old error back.Two knock-on fixes. A fresh catalog's snapshot
ObjectCountwas counted as 0, becauseupdateSnapshotCountread through the pool while the build transaction was open and so could not see the rows that transaction had just written; it now reads through the transaction. Andforeign_keyswas set withExec, which reaches only the one pooled connection it runs on, so the pragma was off for most queries — on both the in-memory and the file path. It now rides in the DSN, as the busy timeout already did for exactly this reason.Not the fix, recorded because it looks like one: pinning the pool to a single connection also makes the catalog one database and deadlocks. The readers nest —
Entities()yields from an open cursor while the loop body callsAttributesFor()— so the inner read waits forever for the connection the outer cursor holds, and a lint run that took seconds hung past 600s. -
create external entities fromno longer imports a key the service says is not filterable as filterable (ako#1258) — a service whose entity set is not filterable, or whoseNonFilterablePropertiesnames the key, imported into an app that failed to build with CE6630 "'Code' is marked Filterable=False in the OData service, but True in the app", once per such entity. The attribute's own flag was right; the entity's remote key (Rest$ODataKey) holds a key part with a secondFilterable, which was writtentrueevery time. It now follows the same contract restrictions, a re-import refreshes it, and reading an entity keeps a storedfalseso a rewrite of a Studio Pro-authored entity no longer flips it. Measured on MxBuild 11.16.1 over 13 capability shapes, one contract and one project each: 11 were already clean, the two above are fixed. -
Nightly builds can be pinned and rolled back (ako#2359) — only a rolling
nightlyrelease existed, so the dated versionmxcli --versionprints could not be downloaded, and the bootstrap script's advice to setMXCLI_TAGto it gave a 404. Each nightly is now also published under its dated tag, the 30 most recent are kept, and the bootstrap script's advice for a nightly stamp names that tag andMXCLI_TAG=nightlyas the way to the current build. -
A legacy Data grid's control-bar buttons and search fields can be addressed (ako#2382, #1889) — they are stored under
NewButtons, and every lookup readItems, soalter page … set (…) on actionButton4anddrop widgetsaid "widget not found", describe listed none of them, andshow widgetsomitted them. All three now read the stored list: a button's caption and action can be changed (the repair for a CE1613 after a microflow rename), describe lists each button with its caption and action, andshow widgetsincludes them. -
An enumeration value written without a caption gets its name as the caption (ako#2397, #1893) —
create enumeration … (Red)andalter enumeration … add value Bluestored an empty caption, so the value showed as a blank option and nothing reported it. The caption now defaults to the value's name, as Studio Pro fills it;''written explicitly stays empty. -
create translationsmatches a source whatever its line endings (ako#2383, #1890) — Marketplace texts carry CRLF, and adescribe translationsfile whose CRs were lost when it was edited reported each of them as unknown, leaving confirmation questions without a default-language text (CE4899). A source now matches with CRLF and LF treated alike, and its translation is stored with the source's line breaks. -
Lint
parse_xpathparsestrue()/false()and no longer returns a partial tree (ako#2398, #1894) — everything after an XPathtrue()orfalse()was dropped without a word, so[IsConfidential = false() or Owner = '[%CurrentUser%]']reached a rule asIsConfidential = false. Both forms now parse whole, and a constraint that does not parse to its end comes back as arecoverednode, as the lint-rules skill documents. -
checkrejects an import mapping's custom handler that feeds a parameter a member of the wrong type (ako#1258) —find … by M.MF ( P: member )with a String member into an Integer parameter, or any member into a Boolean or DateTime parameter of another type, passedcheckandexec, and the build reported CE0282 "The microflow parameter … does not match the specified type". New MDL107 over the measured matrix: a String parameter takes every member type, a Decimal parameter also an Integer, a Long parameter an Integer, the rest only their own type. The member is found by name in the whole structure and judged only when every occurrence has one type, so an ambiguous member is left to the build. Measured on MxBuild 11.16.1, one mapping per project. -
checkjudges the values of an enumeration split (ako#1258) — acase $S/C when … end casethat leaves an enumeration value without a branch, names a value the enumeration does not have, or names one value in two branches passedcheckandexec, and the build reported CE0079, CE1613 (values are case-sensitive) and CE0771. Two new rules: MDL105 (a value named twice, no project needed) and MDL106 (an unknown or missing value, undercheck -p, which reads the enumeration from the script or the project). An unknown value is reported alone, as the build does. A split whose subject does not resolve — a rule call, an association path, an enumeration the script alters or drops — is not judged. Measured on MxBuild 11.16.1, microflows and nanoflows. CE0773, which older records list beside CE0079, does not appear for any of these; it is the follow-on of a branch with no configured value, which the grammar already refuses forelse. -
marketplace diffandupdateno longer report untouched pluggable-widget snippets as edits (ako#2367, #1882) — right after an install, Workflow Commons showed 2 changed snippets on the firstdiffand 8 on every later one, soupdateneeded--force, which also dropped the guard for real edits. The reference cache now keeps the widget definitions, and a reference gets the same widget and design-property repairs install runs on the app. Measured: 0 false edits on both runs, and a real edit is still reported. Cached references from earlier versions are rebuilt once. -
An imported navigation association that would clash is named
<Parent>_<Navigation>(ako#2354) —create external entitiesnamed Product'sCategorynavigationCategory_2, because the name collides with the entity Category. It is nowProduct_Category, with a number only if that is taken too. Names that do not collide are unchanged, and a re-import still recognises existing associations by their navigation property. -
describe contract operation from openapishows query parameters as they are imported (ako#2353) — the preview showed an integer query parameter asIntegerwhile the imported service described it asString. Mendix stores no type for a consumed REST query parameter (it is text), so the preview now showsString, matching the import; path parameters keep the spec's type. -
diag loop-reportmeasuresrun status,stop,waitandrestart(ako#2360) — these commands exited throughos.Exit, which skipped the session close even on success, so every call was counted as a vanished process with no time and the hours spent waiting for and restarting the app were invisible. They now close their session with the exit code on every exit. -
run --locallistens on the selected configuration's ports (ako#2365, #1880) — a configuration's HttpPortNumber and ServerPortNumber were ignored, so the app always started on 8080/8090 unless--app-port/--admin-portwere given. The run now takes both from the configuration it uses for constants and JVM options, says so, and the flags still override each one. -
marketplace updaterefuses at once when Studio Pro has the project open (ako#2366, #1881) — the update started, had each of hundreds of writes refused, and ended with "The project may be mid-update … Restore from version control" although nothing had changed. The lock is now checked once, before the reference projects are built, and the refusal says nothing was changed. -
checkrejects an import mapping's custom handler that does not name exactly its microflow's parameters (ako#1258) —find … by M.MF ( P: member )with a parameter the microflow does not declare (or the right name in another case) passedcheckandexecand the build reported CE1613 "The selected parameter … no longer exists"; leaving a parameter out was CE0277 "Parameter mapping of microflow for obtaining objects needs to be refreshed". New MDL104, which reads the microflow from the script or the project; a microflow it cannot find is not judged, and an unknown name is reported before a missing one, as the build does. A parameter fed a member of the wrong type (CE0282) is not covered. Measured on MxBuild 11.16.1, one mapping per project. -
checkrejectsrest call … returns mapping M as list of Eover an object-rooted mapping (ako#1258) — an import mapping whose root is one object returns one object, and declaring the call's result as a list passedcheckandexecand the build reported CE0243 "The mapping used to return a value of type 'List of …', but now returns a value of type '…'". New MDL103, which reads the mapping's shape from the script or the project (the same resolver as MDL-MAP04); a mapping whose shape cannot be established is not judged.as Module.Eis fine on either root — over an array it binds one object out of the list. Measured on MxBuild 11.16.1. -
checkrejects analter entity … modify attributethat leaves a published OData attribute published as the wrong type (ako#1258) — changing the type of an attribute a published service exposes (String to Integer, Decimal to Integer, Boolean or DateTime to String, String to Decimal) passedcheckandexecand the build reported CE5016 "Attribute '…' has type …, but is published as …", one per attribute. New MDL102, which reads the service from the script and from the project. A change inside one EDM type (String(50) to String(80); Integer to Long) is fine, and so is acreate or modify published odata serviceAFTER the alter, which re-derives the types — before the alter it does not help. Measured on MxBuild 11.16.1. -
checkrejects a primitive where a list operation needs an object or a list (ako#1258) —$R = UNION $L WITH $S, and the same forINTERSECT,SUBTRACT,EQUALSandCONTAINS $S IN $L, with a String, Integer, Long, Decimal, Boolean or DateTime variable as the operand that is not the list, passedcheckandexecand the build reported CE0023 "Selected variable '…' must be of type Object or List." New MDL101, in microflows and nanoflows. An Object or a List there is fine,contains($Hay, $Needle)over two Strings is still the string function, and an enumeration parameter is not judged (it reads as an entity type until the project says otherwise). Measured on MxBuild 11.16.1. -
checkrejects a mapping element whose association does not connect it to its parent (ako#1258) — in an import or export mapping,Assoc/Entityhas to connect the entity the element sits under to its own entity. An association between other entities, or one that touches only the parent or only the element's entity, passedcheckandexecand the build reported CE0295 "Association '...' is not allowed". New MDL100, which reads the association from the script or the project and follows generalizations of either entity (measured clean); an association it cannot find is never refused. A JSON object element over a to-many association is also CE0295 and is not covered. Measured on MxBuild 11.16.1, import and export. -
checkrejectsowner bothbetween an entity and itself or its generalization (ako#1258) —create association M.A_A from M.A to M.A owner both, or from a specialization to its parent (either direction, any chain, Reference or ReferenceSet), passedcheckandexecand the build reported CE0002. New MDL099, which needs no project; an unrelated pair and every other owner are unaffected. Only generalizations the script declares are followed. Measured on MxBuild 11.16.1. -
The catalog cache sees a write made in the same second as the build (ako#2374) — freshness compared the project file's modification time as whole seconds, so a read that followed a write inside the second of the previous catalog build answered from the catalog as it was before the write (
marketplace updatefinding no dependent associations about one run in six;describeand catalog queries could do the same). The time is now stored and compared to the nanosecond. A cache written by an older mxcli holds whole seconds and is rebuilt once per project. -
alter page … set (visible: roles (…))sets the module roles (ako#2371) — the alter form storedroles (…)as the visibility expression, reported success, and left a pagemx checkrejected with CE0117. It now writes the "Visible for module roles" setting ascreate pagedoes, keeping the widget's condition, androles (…) and <condition>sets both. -
checkreports alimit 1list returned as a single object (ako#2364) — undermdl 1;retrieve … limit 1binds a list of one, and returning it from a microflow that returns the entity passed check and exec, then failedmx checkwith CE0117 at the End event. MDL-RETRIEVE03 now reports it and suggestsfirst,head($Item)or a list return type. -
sql --describe schema.tabledescribes the table (ako#2361) — the qualified name--tablessuggests returned an empty column list and no error on PostgreSQL and SQL Server. It now matches schema and table, a table that is not found is an error naming the accepted form, and an unqualified name held by several schemas is refused with the candidates instead of listing all their columns as one table. -
mxcli sqlis read-only unless--writeis given (ako#2362) — any statement ran, anddelete from sales.ordersprinted(0 rows)while emptying the table. A statement that is not a read is now refused, a read runs in a read-only transaction that is rolled back (so a deletingWITHfails too), and--writeallows changes and reports the rows affected. -
marketplace update --no-baselinenames and gates on associations other modules own into the module (ako#2368, #1883) — the flag skipped the local-edit check, and with it the search for cross-module associations the update deletes, so an app's own association disappeared without a word andmx checkstayed clean. Finding them needs only the project, so--no-baselinenow refuses without--forcewhen any exist, saves them with--save-edits, and lists them under "Removed from other modules". -
lintSEC012 skips data hidden from the user role (ako#2356) — data inside a container withVisible: roles (…)was reported as CE2729 for user roles that cannot see the container, though mxbuild does not check it: 19 errors on a project wheremx checkreported none. The rule now reads the page's widget tree and drops a finding when every place showing that data is hidden from all of the user role's module roles; the same container visible to the role is still reported, as mxbuild reports it. -
A JavaScript action's
.jsfile is written as mxbuild writes it (ako#2357) — a re-run of an unchanged script rewrote every JavaScript action file in mxcli's own shape: no documentation in the JSDoc, another banner, no[optional]parameters, LF, and Integer/Decimal typed asnumber. The generator now writes mxbuild's bytes (measured on 11.12.6 for every parameter and return type): the action's documentation,Bigfor numbers, enumerations as their values and CRLF. After an mxbuild build, all 10 measured files are unchanged, and a re-run writes nothing. -
A grant whose
whereis wrapped differently merges into the stored rule (ako#2355) — the rule was matched by its XPath compared byte for byte, so the same constraint over two lines, or stored on one line by an older mxcli or Studio Pro, added a second, identical rule on every run. Constraints that differ only in whitespace outside string literals now match, and the stored spelling is kept, so a re-run writes nothing. -
checkrejectsVisible: roles (…)naming a role of another module (ako#1258) — a widget can only be shown to the module roles of its own page, snippet or layout. A role of another module (Administration.Administratoron a page inWd, or a role of any other module) passedcheck --referencesandexec, and the build reported CE0149 "Visibility needs to be updated, reselect roles in properties". New MDL-GRANT04, the sibling of MDL-GRANT01 (CE0148 for document grants): it needs no project, and covers a container, dynamic text, layout-grid row, navigation-list item, tab page, snippet, layout, and a widget inserted byalter page. Whether the role may view the page does not matter, only its module. Measured on MxBuild 11.16.1 over 17 documents. -
mxcli oqlagainst a Mendix 9 runtime says why it cannot work (ako#2341, #1879) — a 9.x runtime has nopreview_execute_oqlaction, and the error sent the user to restart with live-preview flags, which cannot help. When the action is missing, the runtime's version is now read, and below Mendix 10 the error says OQL over the admin API needs 10 or later and names that version. -
report traceability --junitshows each requirement's test results (ako#2340, #1877) — the results were read and then dropped, so the report was byte-identical with and without--junit. Each requirement now hastestResults(name and passed, failed, error, skipped or not run), and the table marks a failing test, so "built, test failing" no longer reads as "built and proven". -
Visible: roles (…)on a tab page is no longer refused (ako#1258) — undermdl 1;checkrefused it as "cannot be stored on a tab page" (MDL-WIDGET44), and a headerless script was warned it was not written (MDL-V1-TABPAGEPROP). Both were wrong: the roles are stored,describeprints them back, and MxBuild accepts a role of the tab page's own module. The property was missing from the tab page's list of stored keys. -
checkrejectsreplace(…)— it is not a Mendix expression function (mendixlabs/mxcli#2308, ako#1258) — the function table listedreplace(String, String, String), socheckstayed silent,mxcli syntax microflow.expressions.functionsadvertised it, and the build failed with CE0117 (Mendix CLI 2: CE7811 "Unknown function 'replace'"). The string replacers arereplaceAllandreplaceFirst;checknow reports MDL044 and suggestsreplaceAll(). The did-you-mean forreplacealso no longer flips betweenreplaceAllandreplaceFirstfrom one run to the next. Measured on MxBuild 11.16.1. -
checkrejects a value of the wrong type in adeclare,setorreturn(ako#1258) —declare $X Integer = 'abc';,set $X = 'abc';and areturnof the wrong type in a flow with a return type passedcheckandexecand failed the build with CE0117 (Mendix CLI 2: CE0844). The value is now checked against the declared primitive type with the rule already used for call arguments: Integer and Long pass into each other and widen to Decimal, every other primitive mismatch is reported as E009.emptyinto a Boolean, enumerations, objects, lists and values of unknown kind stay silent, and a computed Decimal into an Integer or Long bydeclareorsetis left to MDL041. Measured on MxBuild 11.16.1 over 216 microflows. -
checkrejects an expression that reads a variable nothing defines (ako#1258) —return $Nope + 1;with no$Nopeanywhere passedcheckandexecand failed the build with CE0109 "Undefined variable". New MDL098, for the expressions of return, if, declare, set, create/change members, log, show message and validation feedback, in microflows and nanoflows. A name counts as defined if a parameter or any statement of the flow produces it, or it is one MxBuild accepts with no declaration ($currentUser,$currentSession,$latestError,$latestHttpResponse,$latestSoapFault,$currentIndex,$currentObject). Measured on MxBuild 11.16.1. -
checkrejectsreturns T as $Rwhen a path ends the flow without$R(ako#1258) — MDL003 exempts the AS clause because the end event returns$R, which holds only while$Rhas a value there. A flow with a path off its end and no top-level$Rpassedcheckandexecand failed the build with CE0109 "Undefined variable" (or CE0108 when$Ris defined only inside a branch or loop). New MDL097, microflow and nanoflow. Measured on MxBuild 11.16.1. -
describenames a native mobile widget by its own keyword — a native widget left at its defaults was described under the last part of its id. Sonativegallery,nativebadgeandnativeimagecame out as the webgallery,badgeandimage, and re-running the description replaced them with the web widget whilecheckpassed. Seven more (activityindicator,qrcode,repeater,safeareaview,signature,notifications,backgroundgradient) came out under names no widget has, and were refused on re-run (MDL-WIDGET25). A native gallery with a data source was described as the web gallery as well. Each is now described by the keywordwidget initgave it, or aspluggablewidget '<id>'when the project has no definition for it. Measured with Native Mobile Resources 12.6.0 on 11.13.0: all 39 native widgets now describe, passcheckand re-run as Unchanged. -
Native Image, Signature, Bottom sheet and Maps widgets build without CE0463 — with Native Mobile Resources 12.6.0 installed, each of these widgets that mxcli created failed
mx check11.13.0 with "The definition of this widget has changed". There were four causes:- Image: the widget's editor hides the image-source settings it is not using, with a list worked out by a
switch. mxcli could not read that, so it wrote the Image URL text, which Mendix leaves empty. - Signature:
allowUploadon its image setting was not read. - Bottom sheet: the
onChangeof its trigger attribute was not written. - Maps: an option caption was trimmed, while Mendix stores it exactly as the package writes it.
All 39 native widgets now passmx checkwithout CE0463.
- Image: the widget's editor hides the image-source settings it is not using, with a list worked out by a
-
checkaccepts a native widget's owneditablesetting — the native Slider, Range slider, Rating and Toggle buttons have aneditablesetting of their own (defaultornever).checkread it as the core Editable and refusededitable: 'default'(MDL-WIDGET19), which is howdescribeprints it, so such a page could not be described and run again. The value is now checked against the widget's own values, as exec already wrote it. -
fix widgetsandfix design-propertiesuse the project's own Mendix version ofmx(ako#2321) — they took the version as a preference, so on macOS anmxon PATH or another Studio Pro install ran, andmx update-widgetsrefused with "Project is in different Mendix version". They now take anmxof exactly the project's version. On Linux that version is downloaded when it is missing. On macOS and Windows, where no matchingmxis installed, they say which version is needed and how to pass it with--mx. -
Parallel
mxcli execruns on one project no longer lose each other's writes (ako#2326) — measured with 8 parallel scripts: every process reported success and 2 to 6 of the 16 entities were missing (the reporter saw all of them fail instead). A script, or a-c, that writes now holds the project's lock (.mxcli/write.lock) for its whole run. A second writer waits up to 60 seconds, then changes nothing and exits 75, naming the holder. A lock left by a crashed run is taken over. Read-only runs take no lock. With the lock, all 16 entities land in every round. -
run restartnames the secret it cannot replay (ako#2313) — a restart refused because of a literal secret printed only a generic--db-password @env:hint. The--constant X=@env:VARreferences are recorded and replayed, so the hint read as if they were not. The refusal now lists each flag stored redacted, such as--constant Helpdesk.OpenRouterKeyor--db-password, and says that the values given as references are replayed. -
A Java action whose code uses
Corecompiles (ako#2310) — the generated.javafile did not importcom.mendix.core.Core, so a body callingCore.getConfiguration()passed check, exec and docker check (mx check does not compile Java) and failed the build with "cannot find symbol". The import is now added when the code usesCoreand imports noCoreof its own. A deploy build on 11.12.6 succeeds with it and fails without it. -
A
create or modify microflowthat inserts statements can run again (ako#2311) — the insert drew the connectors at the new statements' ends with vectors of its own, not as the script's@curvestates. The next run of the same script read them as redrawn and refused (MDL-V1-REBUILD). The connectors are now drawn as the script states them, and the second run reports Unchanged. A splice refusal's advice now says to make a deliberate drop + create a one-time run, then keep the flow'screate or modify, because a drop + create rewrites the flow every time. -
alter navigation … insertcan run again (ako#2312) — re-running a script that inserts a menu item added it a second time and reported "Altered". An item the list already holds, as the statement builds it, is now already there, and the second run reports Unchanged. An item with the same caption but another action or other sub-items is refused, namingreplace. The same applies toalter menu. -
Visible: roles (…) and <condition>stores the roles and the condition (ako#2319) — the combined form parsed as one expression, so the whole text,roles (…)included, was stored as the visibility expression and the role list stayed empty: an invalid expression, and the role restriction lost, while check and exec passed. The leadingroles (…) andis now split into the module roles and the condition, as Studio Pro stores them. Aroles (…)anywhere else in an expression is refused (MDL-WIDGET54). -
git mergesays what a plan's whole-unit choice drops (ako#2325) — a plan takes each conflicted unit whole from one side, so"take": "theirs"on a domain model also discarded an entity only your branch had added, without a word. The conflict review now lists, per unit, the changes each choice drops that did not conflict, and--planrepeats it for the side it takes before committing. -
move entityof an association chain works in any order, and keeps each association's identity (ako#2322) — movingSrc.A1thenSrc.A2gave the cross-associationSrc.A3_A2the$IDofDst.A2_A1, and with it the GUID, so mx check reported CE9208 and the next move was refused for duplicate ids. A converted association now keeps its own$ID, and the four moves in ascending order build with 0 errors. -
A
move entitywhose target is refused writes nothing (ako#2323) — the source domain model was written before the target, so underexec --continue-on-errora refused target left the entity in neither module. Both domain models are now checked before either is written, and the source is restored if the target write fails anyway. -
checkand exec warn when agrant … wherenarrows nothing (ako#2320) — a grant with awherewrites a second rule beside the role's unconstrained one, and access rules add up, so the role still reached every row while exec reported success and check passed. Both now warn MDL-GRANT03 and name the fix:revoke all on entity … from <role>;first, then grant with thewhere. The reverse also warns, an unconstrained grant beside a constrained rule.mxcli syntax security entity-accessnow says that grants add rules. -
Editing a show message with
create or modifykeeps its other translations (ako#2327, #1870) — the in-place edit of the activity wrote only the language MDL states, so the message's nl_NL text was deleted. The stored languages the statement does not write are now carried onto the edited activity, as Studio Pro keeps them when the default text is edited. -
drop+createof a Studio Pro flow keeps its parameters' documentation (ako#2329, #1872) — Studio Pro stores a flow's objects in drawing order and mxcli writes the parameters first, so the rebuilt parameter was not paired with the stored one and its documentation was lost. Flow objects now pair across a different order, preferring the element drawn at the same place. A drop + create of all 16 microflows in a stock 10.24.11 project keeps 722 of 821 element ids, up from 612. Translations are also carried by that pairing, and only where it is confirmed: same place, or the same text in every language the statement writes. -
A
drop+createof a flow keeps a while loop's condition caption (ako#2298, #1869) — the caption Studio Pro shows on a while loop (WhileLoopCondition.Caption) has no MDL spelling, and a rebuild wrote it empty although #2178 already kept the loop's other unstatable properties. It is now carried from the stored loop like them. -
An agent's System context entity is stored with its id (ako#2292) —
create agent … (Entity: System.User)wrote"entity":{"documentId":"",…}because the System module is not in the project, while Studio Pro stores the System entity's$ID(a Studio Pro 11.16.1 save stores System.Language as83d81a7b-4a84-416e-a64f-0ffa981c8408). The ids are now taken from a table measured from built models: 42 System entities have a fixed$ID, the same in 10.24.4 and 11.16 builds. The 12 whose$IDmxbuild mints each time the model loads (System.Thumbnail, PrivateFileDocument, BackgroundJob, …) still have none to write and stay by name. -
run --local,test --localanddocker buildno longer hand MxBuild a JRE (ako#2186, #1839) — on Windows with a JRE 21 and a JDK 21 side by side andJAVA_HOMEunset, the JRE (first onPATH) was chosen, and the build failed with "Java compiler is not available". A JRE reports the samejava -version; the JDK lookup now also requiresbin/javac, so the JRE is skipped and the JDK found. AJAVA_HOMEthat points at a JRE is skipped too, and when no JDK is found the error says it is a runtime without a compiler. -
An agent's context entity is stored with its id (ako#2289, #1867) —
create agent … (Entity: M.E),create or modify agentandalter agent … set Entitywrote"entity":{"documentId":"",…}, while Studio Pro stores the entity's$IDthere (measured on AgentCommons' example agents). The entity is now resolved and its$IDwritten; an entity the project does not contain is refused withentity not found, as a missing model already was. System entities, which mxcli has no$IDfor, are still written by name, keeping a stored id. -
check --referencesresolves an agent's references as exec does (ako#2293) —create [or modify] agent … (Model: M.Missing, Entity: M.Missing)passedcheck, and exec then refused it withmodel not found/entity not found. The same gap held for a tool'sDocument(a microflow, or the consumed MCP service of an MCP tool), a knowledge base tool'sSource,alter agent … set Model / Entity,alter agent … add tool / mcp service / knowledge base, and the agent analter agentnames.checknow runs exec's own resolvers over the script in statement order and refuses each with exec's message. A reference to something an earlier statement creates still passes, one created later or dropped earlier is refused, and System entities are still written by name. -
fix widgetswrites back only pages, snippets, layouts and other widget documents (ako#2288, #1866) — on a project with no stale widget definition,fix widgetsrewrote units that hold no widget (a Java action, microflows, a domain model, a REST service) whosedescribeoutput was identical before and after:mx update-widgetsre-saves units it loads, filling in fields and reordering keys, and every unit it re-saved was carried back. The resync is now written back toForms$documents only; any other unit the tool re-saved is left as stored and listed under "Left as stored". Measured against a realmx update-widgets(11.12.6) on a project with a stale Data grid 2: all 11 CE0463 still clear. -
describe java actionsays when a stored export level is not one Mendix has (ako#2287, #1865) — it printed-- export level: Public, but Mendix's values are Hidden and API; "Public" is what mxcli wrote before #705, and Mendix reads it as Hidden (mx update-widgetsre-saves it as Hidden, and keeps a stored API). The comment now says so and how to set API.fix widgetsno longer rewrites a Java action at all (#2288), so the stored value is left alone. -
describe pageprints a pluggable widget's attribute bound over an association as its path (ako#2295) — since #2279 and #2283 such a binding is stored as the final attribute plus its association steps, but describe printed only the attribute (switch sw (booleanAttribute: System.User.Active)forAccountPasswordData_Account/Active), so re-executing the output was refused or bound the property to the context object's own attribute; on a Data grid 2 or Gallery property read by key (configurationAttribute) it was left out. Describe now printsbooleanAttribute: AccountPasswordData_Account/Active, as it already did for built-in inputs and Data grid 2 columns, andcreate pageandchecktake that spelling on any attribute property of a pluggable widget (it was refused as an expression, MDL-WIDGET42). Re-executing the describe output leaves the page unchanged; measured on mxbuild 11.16.0 with 0 errors. -
checkno longer refuses a widget that passes its own data container as an argument (ako#2149) — MDL-BUTTON02 refusedcall microflow F(Gate = $dvP)on a button directly insidedvP, and the same bare$dvPas a data source argument, on a CE0117 measured on 11.14.0. That error was the expression form: the writer now stores a bare container variable as a variable reference, and re-measured with the current writer the page builds with 0 errors on 11.12.6 and on 11.14.0 (the reporter saw the same on 11.16.0). The rule now flags only what is still expression text and still fails on both versions: the name read inside an expression ($dvP/Name),Visible:,Editable:,DynamicClasses:(CE0117) and a nested list's XPath (CE0161). -
alter page … setbinds a pluggable widget's attribute over an association ascreate pagedoes (ako#2283) —set (booleanAttribute: Order_Customer/Active) on swdid not parse, and the quoted spelling was refused ("alter page set cannot bind the path"), so the only way was to replace the widget. It now stores the final attribute plus its association steps, exactly whatcreate pagestores for the same path since #2279 (CE1613 had the plain-name resolver been used), normalises the fully qualified spelling, and refuses whatcreate pagerefuses — a reference-set hop or a reference followed from its non-owner end on a property linked to no datasource, a path that does not resolve, andMod.Entity/Attr(MDL-ATTRPATH02) — in exec and incheckalike. -
alter page … set (attribute: …)binds a built-in input the waycreate pagedoes (ako#2278) — on a text box, text area, date picker, drop-down, check box or radio buttons,Assoc/Attr(and even a bareAttr) was stored as a null attribute reference, leaving the input unbound while ALTER reported success, and the fully qualified"Mod"."Assoc"/"Mod"."Entity"/"Attr"was stored as one flat name (mxbuild CE1613). The value is now resolved by create page's resolver against the widget's data container, association steps included; a path that does not resolve is refused, andcheckjudges it as it judges create page — MDL-ATTRPATH01 for the qualified form, MDL-ATTRPATH02 forMod.Entity/Attr. -
A pluggable widget's attribute bound over an association is stored as an association path (ako#2279) —
switch sw (Attribute: Order_Owner/Active)was written as the flat attributeOrder.Order_Owner/Active, which mxbuild rejects with CE1613. It is now the final attribute plus its association steps, the shape Studio Pro stores and a built-in input already wrote, in the short and the fully qualified spelling alike. A property linked to no datasource holds one object's value, so a reference-set hop or a reference followed from its non-owner end (CE7247 on mxbuild 11.16.0), and a path that does not resolve, are refused by exec and bycheck.
New Contributors
- @UrazAkgultan made their first contribution in #1912
Full Changelog: v0.32.0...v0.33.0