From 0d63e80e482cb125dbc0493afa46ee00ee3c2017 Mon Sep 17 00:00:00 2001 From: Marks Troicins Date: Tue, 8 Sep 2026 14:54:26 +0200 Subject: [PATCH 1/3] Document invalid path warning on module export (SOLP-4182) --- .../en/docs/refguide/modeling/import-and-export/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/refguide/modeling/import-and-export/_index.md b/content/en/docs/refguide/modeling/import-and-export/_index.md index 28017871705..5b56c1b1670 100644 --- a/content/en/docs/refguide/modeling/import-and-export/_index.md +++ b/content/en/docs/refguide/modeling/import-and-export/_index.md @@ -234,6 +234,12 @@ The app package is created and exported. To export a module, right-click a module in the **App Explorer**, and select **Export module package**. +If your module contains files with paths that are not allowed in module packages (for example, files targeting `deployment/`, `.git/`, or path-traversal patterns like `../../`), Studio Pro will show a warning listing the affected paths before you choose where to save the package. Importing such a package is not possible in Studio Pro. You should review and correct the file paths before distributing the module; contact Mendix Support if you need assistance. + +{{% alert color="warning" %}} +From Studio Pro 11.15, exporting a module that contains files with disallowed paths will also not be possible. Make sure all file paths in your module package are valid before this version. +{{% /alert %}} + If your module refers to other modules in the app (that is, it is not self-contained), you will see a warning pop-up window. Select **Find usages of other user modules** to view the references, or click **Continue exporting** and you will see the **Select Dependencies** dialog box: From 385d247503bb2ace55c89e1bd870a870754a0866 Mon Sep 17 00:00:00 2001 From: Marks Troicins Date: Tue, 8 Sep 2026 15:40:08 +0200 Subject: [PATCH 2/3] List disallowed paths and soften version wording for module export warning --- .../refguide/modeling/import-and-export/_index.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/content/en/docs/refguide/modeling/import-and-export/_index.md b/content/en/docs/refguide/modeling/import-and-export/_index.md index 5b56c1b1670..c0c220bcc83 100644 --- a/content/en/docs/refguide/modeling/import-and-export/_index.md +++ b/content/en/docs/refguide/modeling/import-and-export/_index.md @@ -35,6 +35,7 @@ Current undesired locations: * deployment/ * nativemobile/builds/ * vendorlib/temp/ +* mprcontents/ {{% /alert %}} {{% alert color="warning" %}} @@ -234,10 +235,20 @@ The app package is created and exported. To export a module, right-click a module in the **App Explorer**, and select **Export module package**. -If your module contains files with paths that are not allowed in module packages (for example, files targeting `deployment/`, `.git/`, or path-traversal patterns like `../../`), Studio Pro will show a warning listing the affected paths before you choose where to save the package. Importing such a package is not possible in Studio Pro. You should review and correct the file paths before distributing the module; contact Mendix Support if you need assistance. +If your module contains files with paths that are not allowed in module packages, Studio Pro will show a warning listing the affected paths before you choose where to save the package. Importing such a package is not possible in Studio Pro. You should review and correct the file paths before distributing the module; contact Mendix Support if you need assistance. + +Disallowed paths are the same undesired locations listed above for importing, as well as path-traversal patterns (for example, `../../`): + +* directories starting with '.' +* releases/ +* packages/ +* deployment/ +* nativemobile/builds/ +* vendorlib/temp/ +* mprcontents/ {{% alert color="warning" %}} -From Studio Pro 11.15, exporting a module that contains files with disallowed paths will also not be possible. Make sure all file paths in your module package are valid before this version. +In an upcoming version of Studio Pro, exporting a module that contains files with disallowed paths will also not be possible. Make sure all file paths in your module package are valid to avoid issues later. {{% /alert %}} If your module refers to other modules in the app (that is, it is not self-contained), you will see a warning pop-up window. From 4023aa8d9dbdd62a6b7c3c0ad6f4d799938b8802 Mon Sep 17 00:00:00 2001 From: Quinn Tracy <142489060+quinntracy@users.noreply.github.com> Date: Wed, 9 Sep 2026 10:25:49 +0200 Subject: [PATCH 3/3] Review --- content/en/docs/refguide/modeling/import-and-export/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/refguide/modeling/import-and-export/_index.md b/content/en/docs/refguide/modeling/import-and-export/_index.md index c0c220bcc83..c021b5d8e10 100644 --- a/content/en/docs/refguide/modeling/import-and-export/_index.md +++ b/content/en/docs/refguide/modeling/import-and-export/_index.md @@ -235,9 +235,9 @@ The app package is created and exported. To export a module, right-click a module in the **App Explorer**, and select **Export module package**. -If your module contains files with paths that are not allowed in module packages, Studio Pro will show a warning listing the affected paths before you choose where to save the package. Importing such a package is not possible in Studio Pro. You should review and correct the file paths before distributing the module; contact Mendix Support if you need assistance. +If your module contains files with paths that are not allowed in module packages, Studio Pro shows a warning listing the affected paths before you choose where to save the package. Studio Pro cannot import such a package. Review and correct the file paths before distributing the module. Contact Mendix Support if you need assistance. -Disallowed paths are the same undesired locations listed above for importing, as well as path-traversal patterns (for example, `../../`): +Disallowed paths are the same as those listed above for importing, as well as path-traversal patterns (for example, `../../`): * directories starting with '.' * releases/