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

CBA_fnc_compatibleItems Error #1611

Closed
Mike-MF opened this issue Sep 28, 2023 · 6 comments
Closed

CBA_fnc_compatibleItems Error #1611

Mike-MF opened this issue Sep 28, 2023 · 6 comments
Labels
Milestone

Comments

@Mike-MF
Copy link
Contributor

Mike-MF commented Sep 28, 2023

Mods (complete and add to the following information):

  • Arma 3: 2.14
  • CBA: 3.16.0-RC1

Description:
Attempting to call fnc_compatibleItems (in scheduled) returns:

if (_typefilter isEqualType "") then {
_type>
 2:59:35   Error position: <_typefilter isEqualType "") then {
_type>
 2:59:35   Error Undefined variable in expression: _typefilter
 2:59:35 File /x/cba/addons/jr/fnc_compatibleItems.sqf..., line 260
 2:59:35 Error in expression <eapon] call BIS_fnc_error;

[]
};

It does work just fine unscheduled.

Steps to reproduce:

  • [CLASSNAME] call CBA_fnc_compatibleItems
  • Check RPT.

Expected behavior:
Should return the compatible items.

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal

Additional context:
Error comes from #1558

@Mike-MF Mike-MF added the Bug label Sep 28, 2023
@jonpas
Copy link
Member

jonpas commented Sep 28, 2023

@johnb432

@jonpas jonpas added this to the 3.16.0 milestone Sep 28, 2023
@PabstMirror
Copy link
Contributor

when called from scheduled

@johnb432
Copy link
Contributor

See #1612.

@commy2
Copy link
Contributor

commy2 commented Sep 29, 2023

1558 should've never been approved and should be reverted entirely.

@jonpas
Copy link
Member

jonpas commented Sep 29, 2023

Yah, I think I got it mixed up with some other PR when cleaning things up for the release. That was not properly reviewed.

@jonpas
Copy link
Member

jonpas commented Oct 2, 2023

Fixed by #1612.

@jonpas jonpas closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants