Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common - Fixed getVersion function #7479

Merged
merged 1 commit into from
Jan 18, 2020
Merged

Conversation

M3ales
Copy link
Contributor

@M3ales M3ales commented Jan 18, 2020

ace_common_fnc_getVersion currently returns "" due to using getText() on a number config entry. I'm unsure if using versionStr provides intended behavior since version is a shorter version of versionStr, this however provides a result which seems to be in line with the docstring above.

When merged this pull request will:

  • Fix getVersion returns blank string as result #7478
  • Changed version to versionStr based on the return type specified in docs, its likely that version used to contain versionStr's information. If need be the alternative: str getNumber () would also work.

Ensures return value of string is preserved.
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Jan 18, 2020
@PabstMirror PabstMirror added this to the 3.13.1 milestone Jan 18, 2020
@PabstMirror
Copy link
Contributor

ref #7173

@PabstMirror PabstMirror merged commit 71da436 into acemod:master Jan 18, 2020
@PabstMirror PabstMirror changed the title Changed version to versionStr as fix for #7478 Common - Fixed getVersion function Jan 18, 2020
Panisher pushed a commit to Panisher/ACE3 that referenced this pull request Jan 22, 2020
Ensures return value of string is preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getVersion returns blank string as result
2 participants