File tree Expand file tree Collapse file tree
mdl-examples/doctype-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2318,19 +2318,22 @@ CREATE MODULE PgTest2;
23182318-- Move a page to a different folder within the same module
23192319MOVE 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)
23222323MOVE 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)
23252326MOVE SNIPPET PgTest.DashboardHeader TO FOLDER 'Snippets/Dashboard';
23262327MOVE 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 )
23292330MOVE PAGE PgTest.P034_ComboBox_Enum TO PgTest2;
23302331
23312332-- Move a page to a folder in another module
23322333MOVE PAGE PgTest2.P034_ComboBox_Enum TO FOLDER 'Imported' IN PgTest2;
23332334
2335+ -- @version: any
2336+
23342337-- Move a snippet to another module
23352338MOVE SNIPPET PgTest.QuickActions TO PgTest2;
23362339
Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ FROM StyleTest.Task TO StyleTest.Employee
4949TYPE Reference
5050OWNER 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)
Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ func TestRoundtripPage_V3DataGridWithFilter(t *testing.T) {
263263func 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) {
491492func 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) {
639641func 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 )
You can’t perform that action at this time.
0 commit comments