Article Details
Id:18125
Product:finPOWER Connect
Type:NEW
Version:3.04.00
Opened:03/02/2021
Closed:23/04/2021
Released:30/06/2021
Job: J025918
High Importance
Breaking Change

HTML Widgets and Portals; Default jQuery version updated from 2.1.4 to 3.6.0

The default version of jQuery used for HTML Widgets and Portals has been updated from 2.1.4 to 3.6.0.

Internally, HTML Widgets and Portals use only a tiny subset of jQuery functionality however, version 2.1.4 has known vulterabilities and hence upgrading to a later version was desirable.

NOTE: Portals also have the jQuery version option on the Options page however, Portals ALWAYS rely on jQuery and the version cannot be changed

This was not without issue and the following were found in our system-supplied HTML Widgets:

  • The Account Financial Details control (as used for the New Account wizard) had formatting issues where the captions were all bold and, in Internet Explorer, right-aligned
    • This did not occur under version 2.1.4 and is due to Internet Explorer Compatibity code being removed: https://github.com/jquery/jquery/issues/1835

The following system-supplied HTML Widgets have been updated to not specify a specifc version of jQuery on the Scripts form, Options page.

  • HtmlWidget_AccountNew
    • Version: 1.16 (23/04/2021)

In the business layer, the finScript.HtmlWidgetResourceJQueryDefaultVersion constant has been updated to 3.6.0