(reference support ticket Request #115753 )
Current behaviour seems to be that when using “run” (in cloud) from Studio Pro (and presumably similarly in Studio), the current work is committed to the repository, built into a package, and deployed to the first listed environment in a project. Environments seem to be listed based on order of creation and cannot currently be re-ordered after creation.
Whilst this makes some sense for projects hosted in Mendix cloud where the “test” environment is always listed first, it is problematic for projects hosted using VPC, where the order that the environments was created is not always the same. This can lead to accidental deployments to production environments. It doesn’t seem to be possible to mitigate this with permissions when on VPC.
I suggest the following features:
It’s possible similar results could be achieved in other ways.