...
SCL-2643 Legacy GUI Migration was failing in some cases for unbound fields
Description:
We have fixed an issue that might have occurred in the Legacy GUI Frame migration utility for field level widgets not bound to a database field:
No Format |
---|
The parameter value '.' for pcObjectMaster in Consultingwerk.SmartFramework.Repository.SmartRepositoryService is invalid.
Call Stack:
GetObjectMasterGuid Consultingwerk.SmartFramework.Repository.SmartRepositoryService at line 3175 (.\Consultingwerk\SmartFramework\Repository\SmartRepositoryService.r)
GetObjectMasterAttributeValue Consultingwerk.SmartFramework.Repository.SmartRepositoryService at line 3242 (.\Consultingwerk\SmartFramework\Repository\SmartRepositoryService.r)
GenerateDataField Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Viewer.MetaViewerGenerator at line 272 (.\Consultingwerk\Windows\Framework\Repository\LegacyGuiMigration\Viewer\MetaViewerGenerator.r)
GenerateInstances Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Viewer.MetaViewerGenerator at line 407 (.\Consultingwerk\Windows\Framework\Repository\LegacyGuiMigration\Viewer\MetaViewerGenerator.r)
Generate Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Viewer.MetaViewerGenerator at line 167 (.\Consultingwerk\Windows\Framework\Repository\LegacyGuiMigration\Viewer\MetaViewerGenerator.r)
Generate Consultingwerk.BusinessEntityDesigner.Generator.Viewer.SmartViewerBuilder at line 1459 (.\Consultingwerk\BusinessEntityDesigner\Generator\Viewer\SmartViewerBuilder.r)
GenerateMetaViewer Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm at line 1394 (.\Consultingwerk\Studio\LegacyGuiMigration\Frame\AblFrameMigrationForm.r)
smartToolbarController1_ToolClick Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm at line 3653 (.\Consultingwerk\Studio\LegacyGuiMigration\Frame\AblFrameMigrationForm.r)
OnToolClick Consultingwerk.SmartComponents.Implementation.SmartToolbarController at line 2015 (.\Consultingwerk\SmartComponents\Implementation\SmartToolbarController.r)
Consultingwerk\Studio\LegacyGuiMigration\Frame\start.p at line 514 (.\Consultingwerk\Studio\LegacyGuiMigration\Frame\start.r)
Shown by:
ShowErrorMessage Consultingwerk.Util.ErrorHelper at line 2232 (.\Consultingwerk\Util\ErrorHelper.r)
smartToolbarController1_ToolClick Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm at line 3660 (.\Consultingwerk\Studio\LegacyGuiMigration\Frame\AblFrameMigrationForm.r)
OnToolClick Consultingwerk.SmartComponents.Implementation.SmartToolbarController at line 2015 (.\Consultingwerk\SmartComponents\Implementation\SmartToolbarController.r)
Consultingwerk\Studio\LegacyGuiMigration\Frame\start.p at line 514 (.\Consultingwerk\Studio\LegacyGuiMigration\Frame\start.r)
|
...
SCL-2820 Fixed an issue in the support for questions of the Dataset Model
Description:
We have resolved an issue in the DatasetModel question support that was causing questions on multiple creates to fail.
SCL-2886 Fixed an issue in the Swagger support for RESTful Business Entities
Description:
We have resolved an issue that occasionally occurred when generating the Swagger file for RESTful Business Entities. The issue was caused by multiple business entities sharing the same ProDataset name and one of the ProDatasets has an field named id.
SCL-2888 Fixed an potential issue raised when copying fields in a viewer in the repository
Description:
When copying object instances in a viewer that are contained in a container like a group box, the following error might have occurred:
Object instance must be on the same page as it's parent object instance. (SFR:407)
Field: PageGuid
Table: eSmartObjectInstance
This issue is now resolved.
SCL-2895 Implemented sorting and filtering based on "Description" of the Smart Security Object Token lookup
Description:
The lookup for Smart Security Object Token security items failed when searching or filtering on the Description column with the following error:
We have implemented sorting and filtering support for this calculated field now.
SCL-2900 Fixed legacy GUI Migration adding additional text controls for labels in the repository
Description:
When using the Legacy GUI frame migration routines, an additional label instance was created in the repository. The repository however does not require the label to be stored as a separate instance. The label is rendered based on a property of the DataField instance.
Improvement
SCL-2795 ObjectMasterBusiness Entity now enforces uniqueness of ObjectName in combination with the custonization result
Description:
The Index ObjectNameCustomization (ObjectName and CustomizationResultGuid) of the SmartObjectMaster table is now defined as unique. The SmartDB Upgrade and Migration utility ( https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8093744/SmartDB+Upgrade+and+Migration+Routine ) now verifies the uniqueness of the field combination before applying the schema update to avoid issues with the new index.
The ObjectMasterBusinessEntity now validates that the CustomizationResultGuid is not ?.
SCL-2867 Added new option in TranslationProvider to use empty Scope as fallback
Description:
By default the empty scope is handled by the Translation Provider as a regular scope. Translations with the empty scope are returned to the caller only when the empty scope is requested.
We've now added the option to configure the translation provider to return the empty scope as a fall back when in a named scope a certain key value or original string is not available. This allows developers to refer to the empty string as an application default translation and use the scoped translations as a translation specific to a part of the application, e.g. screen.
This new behavior is activated by setting the static property
Code Block | ||
---|---|---|
| ||
/**
* Purpose: Gets and sets if the empty translation scope will be used as the
* fallback when retrieving translations with a scope value
* Notes:
*/
DEFINE PUBLIC STATIC PROPERTY UseEmptyScopeAsFallback AS LOGICAL NO-UNDO INITIAL FALSE
GET.
SET.
|
to TRUE. This setting may be configured using the JSON startup file.
SCL-2883 Implemented two new scl-pasoe commands
Description:
We have implemented two extensions to the scl-pasoe-agents command line utility ( https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094029/PASOE+management+scripts ):
- scl-pasoe-agentrequests: Shows all Requests for a given Agent
- scl-pasoe-agentsessions: Shows all Sessions for a given Agent
SCL-2892 Implemented new UnmanagedWhenInCallStack mode for Business Services
Description:
The ServiceManager now supports a new operating mode for Business Services in the GetBusinessService method: UnmanagedWhenInCallStack
This feature is based on SCL-2878. In this mode, the Service Manager will return the default (managed) instance of a Business Service when the Business Service is currently not in the call stack and will return a new unmanaged instance when the service is already in the call stack (e.g. recursion).
New Feature
SCL-127 Added Maintenance Screens for SmartWorkflow
Description:
We have released the maintenance screens for Smart Workflows. Smart Workflows allow to define status transitions based on a field in a Business Entity.
SCL-1308 Implemented a new feature to support logical locks in an application
Description:
A detailed description of the feature can be found here:
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/67502081/Implement+logical+application+locks
SCL-2838 RESTful Business Entity and Business Task requests now support manipulation of the HTTP responst header
Description:
We have implemented support for manipulating the HTTP response of RESTful requests to Business Entities and Business Tasks. This support allows developers to add headers and cookies etc.
To implement this feature, a Business Entity or Business Task must implement the Consultingwerk.OERA.RestResource.ISupports HTTP ResponseProcessing interface which enforces the following method:
Code Block | ||
---|---|---|
| ||
/**
* Purpose: Allows the Business Entity or Task invoked by the RestEntitiesWebHandler
* to manipulate the HTTP response before returning to the consumer
* Notes:
* @param poParameter The IUpdateHttpResponseParameter containing the HTTP response to be processes, the HTTP and REST request
*/
METHOD PUBLIC VOID UpdateHttpResponse (poParameter AS IUpdateHttpResponseParameter).
|
The argument to this method provides access to the HTTP response, request and REST request instance. Headers can be added like this:
Code Block | ||
---|---|---|
| ||
/**
* Purpose: Allows the Business Entity or Task invoked by the RestEntitiesWebHandler
* to manipulate the HTTP response before returning to the consumer
* Notes:
* @param poParameter The IUpdateHttpResponseParameter containing the HTTP response to be processes, the HTTP and REST request
*/
METHOD PUBLIC VOID UpdateHttpResponse (poParameter AS IUpdateHttpResponseParameter):
poParameter:HttpResponse:SetHeader (NEW HttpHeader("myheader":U, "myvalue":U)) .
END METHOD .
|
...
SCL-2868 New feature in Translation Maintenance which allows to translate those strings used with ITranslationProvider API's
Description:
We have added a new button to the Translation Maintenance form: Translate from Source Code.
This button allows a developer to open an ABL source code file (.p, .w, .cls). The tool then parses the file using proparse and offers to create or update translation records matching every use of the translate.i functionality or any direct call to one of the ITranslationProvider API's.
SCL-2882 Support for rendering annotation based forms for GUI for .NET
Description:
We have now implemented support for rendering of simple data entry screens based on annotations defined in a Business Entity for GUI for .NET:
Code Block | ||
---|---|---|
| ||
@BusinessEntityView (name="customer", isdefault="true", entitytable="eCustomer", entityview="eSalesrep",
listcolumns="eCustomer.CustNum,eCustomer.Name,eCustomer.Country,eCustomer.City,eSalesrep.RepName",
viewercolumns="eCustomer.CustNum,eCustomer.Name,eCustomer.Country,eCustomer.State,eCustomer.PostalCode,eCustomer.SalesRep,eSalesrep.RepName,Comments") .
|
A new Menu Function Type has been added to the Framework while allows the definition of menu functions:
SCL-2891 Added support for CONTAINS Operator with SmartDataBrowser SmartFilter UI
Description:
We have implemented the ability to use the CONTAINS operator (word-index) with the SmartFilter user interface. Based on the new property
Code Block | ||
---|---|---|
| ||
/**
* Purpose: Gets and sets the names of the columns where the SmartFilter operators
* should support the Contains operator as well (word-index)
* Notes:
*/
DEFINE PUBLIC PROPERTY SmartFilterWordIndexColumns AS CHARACTER INITIAL "":U NO-UNDO
GET.
SET.
|
of the SmartDataBrowser, developers can now enable the CONTAINS Operator in those columns where the backend supports the word index.
SCL-2902 Migrated Business Entity Designer to Crainiate OpenDiagram 5.0
Description:
We have migrated the Business Entity Designer from Crainiate ERM 4.1 to Crainiate OpenDiagram 5.0. We have build the assemblies using .NET 4.5
The new version of the diagram assemblies allows us to use the diagram components in the Visual Designer.
Sub-task
SCL-2896 Added Database Tables to limit instances for a container type
Description:
In preparation for a new feature in the SmartFramework repository, we have added a new table SmartSupportedInstanceObjectType. This new feature will optionally allow to limit the object types which may be used as instances in another object type.
Task
SCL-2903 Updated Consultingwerk Templates
Description:
We have updated the templates used by our code generators to reflect the copyright notice for 2020.