SpringBot Release 2.2.3.0

Noteworthy changes

  • Added the styling used for the 404 page to the 403 (Access Denied) page.

Improvements

  • Added protected regions to methods in data tables which are used for CSV Imports.
  • Refactored deletion and export logic in data tables to reduce duplicated code.
    • Each one now uses a single method which will perform different actions (e.g. Delete All vs Delete Selected) depending on the method inputs.
  • Removed old routes for data table pages which allowed specifying the page number.
    • This did not do anything after previous version changes so it has been removed.
  • Added createdBy and modifiedBy to the default options in the processCondition method in server-side service classes.
    • Other attributes are still only added by the bot if they are set to be Searchable in the model.
  • Made changes to the front-end styles.

Resolved defects

  • Added an environment variable for setting the encoding to be UTF-8, resolving a potential issue which could occur on Windows if the encoding was set to be different.
  • Navigating to application while client-side was in bundled mode caused the site to redirect to the 403 page. This was resolved by setting redirects to go the home page.
  • Replaced First Name and Last Name fields in registration form with single Name field.
    • Previously, adding an attribute called First Name orLast Name to a User Entity who could be registered caused a compilation error due to duplicate fields in the registration form.
  • Fixed issue where the user could be redirected to 403 when not logged in
    • Was caused by running the authentication check on non-logged in users. This check will now not run if the user is not logged in.
  • Fixed build error caused by having no pages in the application.
    • The redirect when navigating to login after an authentication failure is set to be the home page, so if there was no pages in the application (therefore no home page set) then the build would fail.

Migration path

Protected regions

The following protected regions were removed as part of the changes to the registration form:

File ID
clientside/src/app/lib/tiles/register/[Entity Name]-register-form/[Entity Name]-register-form.component.ts Add any additional validators for first name here
clientside/src/app/lib/tiles/register/[Entity Name]-register-form/[Entity Name]-register-form.component.ts Add any additional validators for last name here