View Issue Details

IDProjectCategoryView StatusLast Update
0019062MMW 5Extensions frameworkpublic2024-04-02 12:41
Reporterdrakinite Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version5.0.3 
Target Version5.0.3Fixed in Version5.0.3 
Summary0019062: app.utils.getApplicationVersion(3) returns four digits instead of three
Descriptionapp.utils.getApplicationVersion(3) should return '5.0.3' but instead, it returns '5.0.3.2622'.

The method is also not listed on the API docs page.
TagsNo tags attached.
Fixed in build2623

Relationships

related to 0018500 closeddrakinite Check for Addon Updates: Compatibility field is ignored 
related to 0020808 closedLudek Installing addon: Compatibility checking is not working correctly 

Activities

drakinite

2022-05-06 23:35

developer   ~0068050

Last edited: 2022-05-07 00:00

Fixed in 2623.

Currently, the only usage of getApplicationVersion(3) is in the minAppVersion check. Tested along with 00185000018500:0068048. With the fix, behavior changes in the following case:
If the addon developer incorrectly sets their minAppVersion to include the build number (e.g. 5.0.3.2622), it will falsely display as being not supported on build 5.0.3.

Changed to getApplicationVersion(4) to keep behavior the same.

peke

2022-05-12 21:07

developer   ~0068125

Verified 2624