Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SCL-2921 SmartFramework repository now prohibits the use of the certain characters in instance names

Description:

The SmartFramework repository now prohibits the use of periods, backslash and space characters as the instance name. Those characters are typically not allowed as part of an identifier in frontend frameworks.

SCL-2936 Fixed FileHelper:CreateDirectory in TTY builds

Description:

When the FileHelper:CreateDirectory() method was built in a TTY environment (non .NET) it did not create the final part of a chained directory name (e.g. test2 in c:\temp\test\test2).
This issue is resolved now.

Improvement

SCL-2672 Translation of Web Routes

Description:

We have implemented the translation of web routes.
We are translating routes based on translation records in the "webroutes" scope. Translations of the Label (bread-crump navigation)= and browser title are based on translations by key with the following patterns:
"<route path> [Label]"
"<route path> [Title]"

New Feature

SCL-2937 New optional feasture to merge Dataset Error details into the Frontend's dataset

Description:

We've added a new optional feature to the SmartBusinessEntityAdapter. This feature allows to synchronize validation errors returned by the Business Entity into the SmartBsuinessEntityAdapter's Dataset. This feature is controlled by the

Code Block
languageabl
     /**
     * Purpose: Controls if errors received from the backend will be copied into
     *          the Dataset maintained by the SmartBusinessEntityAdapter instance
     * Notes:   Copies the ERROR, ERROR-STRING and REJECTED attributes
     */
    DEFINE PUBLIC PROPERTY CopyErrorsIntoDataset AS LOGICAL NO-UNDO INITIAL FALSE
    GET.
    SET.


property.
This feature is the foundation to visualize errors in the SmartDataBrowser (UltraGrid) based on the

Code Block
languageabl

        THIS-OBJECT:smartDataBrowser1:DisplayLayout:Override:RowSelectors = Infragistics.Win.DefaultableBoolean:True.
        THIS-OBJECT:smartDataBrowser1:DisplayLayout:Override:SupportDataErrorInfo = Infragistics.Win.UltraWinGrid.SupportDataErrorInfo:RowsOnly.


settings. When set to true, the row selector of a row with a validation error will display an warning sign and this icon provides a tooltip with the record's ERROR-STRING value.
When copying the error values from into the client side Dataset, we resolve Smart Messages, so that the tooltip contains the human readable error message.