List of critical changes in version 3.11.34

Critical changes

Cache

Locks when working with cache on farms are taken to LockManager, i.e. by default, locks work through the database. Configuring locks via Redis is described in the article https://kb.elma-bpm.com/article-6800.html

Controls Settings

Added the feature that allows specifying settings for sorting object instances in the script:

public virtual void ChangeSortSettings (Context context, EleWise.ELMA.Model.Views.FormViewBuilder<Context> form)
{ 
  var contactSettings = (EntitySettings)context.GetSettingsFor(c => c.Kontakt);
  contactSettings.CanSortProperty = true; 
  contactSettings.SortPropertyUid = new Guid("7a37ba5a-5811-4614-8ae9-9d4d3d202e5d"); //Surname - Uid of one of the object properties 
  contactSettings.SortPropertyOrder = ListSortDirection.Descending;
  contactSettings.Save();
}

Public methods and interfaces

Method overloading EleWise.ELMA.BPM.Web.Common.Controllers.EntityController.CreateEntitySelectRouteValues(EntitySettings settings, ViewAttributes viewAttributes, bool localize, ClassMetadata metadata) was added which additionally creates sorting parameters.

 

Major changes

  1. When a fatal error occurs during the primary index in the web application, a notification appears on the index page and the index mechanism is disabled, with the second start attempt.
  2. Added the setting that allows configuring the timeout for Redis cache commands in milliseconds.
  3. The correctness check of the project stage input (whether it belongs to the correct project template) in the custom extension “Changing the project stage” was implemented.
  4. When reassigning a task, the information about the change of the executor is displayed in the task history in the web application.
  5. User import was transferred to a separate scheduler task. The import button in the web application adds objects to the import queue and does not make the user wait for the import to finish (the page is not blocked). During the import from the provider on the import page a corresponding warning is displayed.