If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Errors Pane
Introduction
To make sure that your app is always consistent and properly built, Studio Pro does consistency checks when you build your app.
When a consistency check is not met, Studio Pro will notify you about this on the Errors pane. The errors and warnings in pages, microflows, domain models, and document templates will be highlighted:
To display the Errors pane, there are two options:
- Right-click the element with the highlighted error and select Found error > Go to Error List
- Open the menu option View > Error List
Types of Messages
There are three types of messages, each having its own button and icon:
The table below provides the details on each type of the message:
Type | Icon | Function |
---|---|---|
Errors | Consistency errors that prevent your app from functioning in a correct way and being deployed (for example, if you do not specify an entity for the data view, your app cannot function correctly). | |
Deprecations | This type shows information on features that are deprecated and can be entirely removed in the future versions. This does not affect the app now, but may cause problems when upgrading to the next version. | |
Warnings | Errors that are not critical, so you can publish your app having warnings. However, it is highly recommended to take action based on the warnings, because your app has logical gaps (for example, clicking a button does nothing). |
Interacting with the Errors Pane
Displaying Different Types of Messages
You can toggle what messages are displayed in the Errors pane by clicking Errors, Deprecations, and Warnings buttons. If the button is highlighted, the corresponding type of message is displayed.
For more information on types of messages, see the Types of Messages section.
Check Now Option
The Check now option initiates the check of your project on consistency failures. This is useful if you have set an auto-check delay in Edit > Preferences. If the auto-delay is not specified, the check is done immediately after each change.
Limit to Current Tab Option
Limits the messages displayed in the pane to the current document.
Message Overview
To enable you to find your errors, deprecations, and warnings quickly, each message shows you the following:
- Icon – indicates the type of the message
- Index number – an index number assigned to each message
- Error Code – a unique code that is specific for the errors only; warning and deprecation do not have error codes
- Message – description/explanation of the check failure
- Element – an element causing the check failure
- Document – the place where the element is
- Module – the module where the document is
Double-clicking the check will take you directly to the element causing the check failure.
You can also sort the order which messages are displayed in by clicking the column header in the pane. Thus, you can sort errors in ascending or descending order by the icon, index number, message, error code, module, document, or element.
Right-clicking the message line opens a drop-down menu:
The following actions are available in the drop-down menu:
- Go to {the name of the element} – does the same as double-clicking the message, takes you to the element causing the check failure.
- View documentation about {an error code or the name of the element} – opens the corresponding document that describes this check failure and gives instructions on how to fix it; if there is no documentation on the current message, the option is greyed-out
- Message-specific actions – actions that depend on the message, in the example above, you can remove the microflow parameter that is not used in the project