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

Settings: Error when exporting a single change without clicking Ok in Addons Options Menu #848

Closed
bux opened this issue Dec 25, 2017 · 3 comments · Fixed by #852
Closed
Labels
Milestone

Comments

@bux
Copy link
Contributor

bux commented Dec 25, 2017

Arma 3 Version: 1.80 stable
CBA Version: 3.5.0 dev 124140c

Mods:

- CBA_A3
- ACE3 3.12.0

Description:
An error is thrown when trying to export a single setting change without clicking the "OK" button in the addons options menu

Steps to reproduce:

  • Create a new blank mission in 3DEN and save it
  • Open the Addon Options Menu
  • Go to "ACE3 Common" category and just change ace_common_checkPBOsAction to 2 image
  • Immediately click the "Export" button
  • An error is thrown
20:16:58 Error in expression <e isEqualTo _defaultValue) ||
_priority > [0,1] select (cba_settings_default get>
20:16:58   Error position: <> [0,1] select (cba_settings_default get>
20:16:58   Error >: Type Bool, expected Number,Not a Number
20:16:58 File x\cba\addons\settings\fnc_export.sqf, line 31

Where did the issue occur?

  • Editor (Singleplayer)

NOTE:
A cba_settings.sqf file is present in the userconfig folder

RPT log file:
https://pastebin.com/5E2FpWi1

@jonpas jonpas added this to the 3.6 milestone Dec 25, 2017
@jonpas jonpas added the Bug label Dec 25, 2017
@commy2
Copy link
Contributor

commy2 commented Dec 26, 2017

Can reproduce.
BI error message is confusing, but it seems like:

true > 1

which throws:

 9:58:54 Error in expression <true > 1>
 9:58:54   Error position: <> 1>
 9:58:54   Error >: Type Bool, expected Number,Not a Number

@commy2
Copy link
Contributor

commy2 commented Dec 26, 2017

Crucial step in the repro is to uncheck "export default values".

@bux
Copy link
Contributor Author

bux commented Dec 26, 2017

Crucial step in the repro is to uncheck "export default values".

true. UI did remember this from previous bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants