Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ In Mendix 11.0.0, we have made this behavior consistent. Now, strings are handle

We understand that this change might cause unexpected changes in existing applications migrated from older versions of Mendix.

We recommend carefully analyzing all expressions that are comparing strings against `''` or `empty` and doing extensive testing after the migration.
In Mendix 11.6.3 we have introduced [an option](https://docs.mendix.com/refguide/app-settings/#new-string-behavior) to toggle between the old and the new client-side String attribute behaviors. Projects migrating from Mendix 10 to 11 will retain the old String behavior unless you manually switch to the new one.

We recommend to migrate your pre-existing projects to use the new behavior as soon as possible. The new behavior will improve consistency between nanoflows and microflows, which will lead to less bugs in your applications.

Please make sure to carefully analyze all expressions that are comparing strings against `''` or `empty` and do extensive testing after the migration.

#### Example 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ The available configuration options are as follows:
* **Yes**: Use the React client (default). In this mode, you will get consistency errors for incompatible widgets.
* **Migration mode**: Use the React client and ignore incompatible widgets. Placeholders are displayed in the case of incompatible widgets. Recommended when trying out the new client.

### Use new string behavior {#new-string-behavior}

Introduced in Mendix 11.6.3.

If this option is enabled, Web (both React and Dojo) and Native Mobile clients will be able to handle both `empty` and empty string `''` values for `String` attributes.
If this options is disabled, `String` attribute values on the client-side will always contain only the `''` value to represent empty state. `empty` values will be automatically converted to `''` when transfered to the client-side.

You can read detailed explanation in the [upgrade guide](https://docs.mendix.com/refguide/upgrading-from-10-to-11/#empty-strings-handling).

### Static Resources from Disk

If this option is enabled, the static resources for your mobile application are downloaded as soon as you open your application rather than bit by bit as you navigate through the app. This can drastically cut down the number of network requests, as the files can be retrieved from the disk rather than from the server.
Expand Down