Skip to content

Commit aba3249

Browse files
committed
Merge branch 'issues'
2 parents c5fe391 + c938917 commit aba3249

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

mdl-examples/doctype-tests/03-page-examples.mdl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2318,19 +2318,22 @@ CREATE MODULE PgTest2;
23182318
-- Move a page to a different folder within the same module
23192319
MOVE PAGE PgTest.P001_Empty_Page TO FOLDER 'Pages/Archive';
23202320

2321-
-- Move a microflow to a subfolder
2321+
-- @version: 11.0+
2322+
-- Move a microflow to a subfolder (ProcessProducts created under 11.0+ gate)
23222323
MOVE MICROFLOW PgTest.ProcessProducts TO FOLDER 'MasterDetail/Actions';
23232324

2324-
-- Move a snippet to a nested folder
2325+
-- Move snippets to a nested folder (DashboardHeader/Footer created under 11.0+ gate)
23252326
MOVE SNIPPET PgTest.DashboardHeader TO FOLDER 'Snippets/Dashboard';
23262327
MOVE SNIPPET PgTest.DashboardFooter TO FOLDER 'Snippets/Dashboard';
23272328

2328-
-- Move a page to another module (root of that module)
2329+
-- Move a page to another module (P034 uses page params, 11.0+ only)
23292330
MOVE PAGE PgTest.P034_ComboBox_Enum TO PgTest2;
23302331

23312332
-- Move a page to a folder in another module
23322333
MOVE PAGE PgTest2.P034_ComboBox_Enum TO FOLDER 'Imported' IN PgTest2;
23332334

2335+
-- @version: any
2336+
23342337
-- Move a snippet to another module
23352338
MOVE SNIPPET PgTest.QuickActions TO PgTest2;
23362339

mdl-examples/doctype-tests/12-styling-examples.mdl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ FROM StyleTest.Task TO StyleTest.Employee
4949
TYPE Reference
5050
OWNER Both;
5151

52-
-- MARK: Class
52+
-- @version: 11.0+
53+
-- MARK: Class — pages with Params require Mendix 11.0+
5354

5455
-- ============================================================================
5556
-- LEVEL 1: CSS Classes (Class property)

mdl/executor/roundtrip_page_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ func TestRoundtripPage_V3DataGridWithFilter(t *testing.T) {
263263
func TestRoundtripPage_V3DataGridWithControlBar(t *testing.T) {
264264
env := setupTestEnv(t)
265265
defer env.teardown()
266+
env.requireMinVersion(t, 11, 0) // CREATE PAGE with parameters requires 11.0+
266267

267268
// Create entity
268269
entityName := testModule + ".V3GridControlEntity"
@@ -491,6 +492,7 @@ func TestRoundtripPage_V3DataGridComplexFilter(t *testing.T) {
491492
func TestRoundtripPage_MicroflowButtonWithParams(t *testing.T) {
492493
env := setupTestEnv(t)
493494
defer env.teardown()
495+
env.requireMinVersion(t, 11, 0) // CREATE PAGE with parameters requires 11.0+
494496

495497
// First create an entity to use as the page parameter and microflow parameter
496498
entityName := testModule + ".MfButtonEntity"
@@ -639,6 +641,7 @@ func TestRoundtripPage_MicroflowButtonWithCurrentObject(t *testing.T) {
639641
func TestRoundtripPage_DataViewAttributeShortNames(t *testing.T) {
640642
env := setupTestEnv(t)
641643
defer env.teardown()
644+
env.requireMinVersion(t, 11, 0) // CREATE PAGE with parameters requires 11.0+
642645

643646
entityName := testModule + ".AttrShortNameEntity"
644647
env.registerCleanup("entity", entityName)

0 commit comments

Comments
 (0)