cancel
Showing results for 
Search instead for 
Did you mean: 

changes_loader.js Issue with version comparission

daniel_jakobs
Advisor
Advisor
599

Hi colleagues,

sapui5 is now on 1.100.0 and the parseFloat fails.

Could you please adjust your template generator?

0 Kudos

Hi colleagues,

Do you have any news regarding the above raised issue?

Thank you.

Best regards,

Alexandra

Accepted Solutions (0)

Answers (1)

Answers (1)

zdravko_georgiev
Product and Topic Expert
Product and Topic Expert

Hello colleagues,

thank you for bringing this to our attention. The issue is already fixed in the templates for application generation. For existing applications one will need to update the code in the "changes_loader.js" like this.

const parsedUI5Version = sap.ui.version.split('.');

//For UI5 version >= 1.80, the location of the FileListBaseConnector is different
const connectorPath =
    parseInt(parsedUI5Version[0], 10) >= 1 && parseInt(parsedUI5Version[1], 10) >= 80
        ? 'sap/ui/fl/write/api/connectors/FileListBaseConnector'
        : 'sap/ui/fl/initial/api/connectors/FileListBaseConnector';

Hope this helps!

Best regards,

Zdravko

bradly1618
Participant

Thanks its works.

smarchesini
Active Contributor
0 Kudos

Thank you!
This works