/
NAE 5.7.1 migration guide

NAE 5.7.1 migration guide



NAE 5.7.1

Frontend

Migration

Affected components

Severity

Multiple field inputs debounce times were increased to 600ms.

Debounce time

https://netgrif.atlassian.net/browse/NAE-1474

WARNING

Default name for new child node in TreeCaseView was changed. If childNodeCaseTitle is present, then it’s value is used. If childNodeCaseTitle is not present, but <caseName> attribute is set in child net, then it’s value is used. Otherwise default name is taken from i18n caseTree.newNodeDefaultName.

TreeCaseView

https://netgrif.atlassian.net/browse/NAE-1486

WARNING

Backend

Migration

Affected components

Severity

Engine processes have been altered slightly to be more user friendly. The existing instances should be migrated to the new process model.

Group process

Filter process

https://netgrif.atlassian.net/browse/NAE-1515

https://netgrif.atlassian.net/browse/NAE-1516

BREAKING

Corrected bug with task ref init values. Description of bug: when there is an auto trigger task on case, that is execute after the creation of case and actions change some task ref of case, the task ref init value resolver function removed the new value of task field and replaced with init one. This is because the actions of the auto triggered task was called earlier than the task ref init values would be resolved. However, this order is needed, because we only can set tasks to taskref that already exist.

The problem was solved with a statement in WorkflowService.resolveTaskRefs function, that checks, whether the taskref has already assigned a value.

WorkflowService

TaskField

https://netgrif.atlassian.net/browse/NAE-1483

WARNING

Initial value of datafield behavior in case dataset has been set, when case is created. This value is copied from petrinet transition behavior values of fields.

Previously empty behavior object was set into case dataset datafield behavior.

New function was added at the end of Case.populateDataSet method populateDataSetBehavior()

Case

https://netgrif.atlassian.net/browse/NAE-1485

WARNING

Model

Migration

Affected components

Severity

The HTML editor view of the text field has been accidentally renamed to:

<view> <htmltextarea/> </view>

This change HAS been reverted in version 5.7.2

Nonetheless the view tag is deprecated and its replacement should be used instead.

<component> <name>htmltextarea</name> </component>

The component name has remained unchanged from previous versions.

HTML editor text field view

https://netgrif.atlassian.net/browse/NAE-1474

BREAKING

Multichoice/enumeration field <values> tag were deprecated. <options> tag should be used, when defining choices for these fields.

<option> tag on these fields does not require key attribute.

Multichoice/Enumeration Values

https://netgrif.atlassian.net/browse/NAE-1439

WARNING

Multiple component properties for file field preview were added.

borderEnabled - enables default border (1px solid black)

borderWidth - number for width of border line

borderStyle - style of border line

borderColor - color of border line (accepting # values, rgb values and word values)

Do not combine borderEnabled with other properties. Use either borderEnabled or other three properties to setup border. If you want custom border, you should enter all three values.

File field (preview)

https://netgrif.atlassian.net/browse/NAE-1421

OPTIONAL


 

Related content