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

Create Intel Error When Using " in Action Text. #431

Open
mcrow900 opened this issue Dec 29, 2018 · 3 comments
Open

Create Intel Error When Using " in Action Text. #431

mcrow900 opened this issue Dec 29, 2018 · 3 comments
Labels
BIS fault Issue that is, in some way, caused by Bohemia Interactive. bug Issue that is not working as intended. priority/medium Issue or PR that impacts some portions of the user base and should be resolved with due time.
Milestone

Comments

@mcrow900
Copy link

**Arma 3 Version: Current
**CBA Version: Current
**Achilles Version: V1.2.1

Mods:

  • CBA_A3
  • Achilles

Description:

  • If you attempt to create Intel and use " it will generate an error. Ex. if Intel Action Text is set to Bob "Bobby" Bob it will generate an error. However if double quotes are used, no error. Ex. Bob ""Bobby"" Bob will correctly set the action text to Bob "Bobby" Bob

Steps to reproduce:

  • Create Intel, Use " in Action Text

Where did the issue occur?

  • Editor (Singleplayer)
@CreepPork CreepPork added bug Issue that is not working as intended. priority/medium Issue or PR that impacts some portions of the user base and should be resolved with due time. labels Dec 30, 2018
@CreepPork CreepPork added this to the Backlog milestone Dec 30, 2018
@Kexanone
Copy link
Member

Kexanone commented Jan 3, 2019

Looks like an issue of BIS_fnc_holdActionAdd. Passing your string as title generates a script error for this function.

@Kexanone Kexanone added the BIS fault Issue that is, in some way, caused by Bohemia Interactive. label Jan 3, 2019
@Drofseh
Copy link

Drofseh commented Jan 3, 2019

Sounds normal, you always need to escape quotation marks in string.
Use ""thing"" like you figured out, or use single quotes 'thing' and it should be fine.

@Kexanone
Copy link
Member

Kexanone commented Jan 3, 2019

Nope it's not. My previous post probably wasn't clear. I did pass "Bob ""Bobby"" Bob", since that's the string you generate when you type Bob "Bobby" Bob in the dialog. Still you get an error, which seems to be happening somewhere inside BIS_fnc_holdActionAdd, although the RPT file oddly does not report the full traceback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BIS fault Issue that is, in some way, caused by Bohemia Interactive. bug Issue that is not working as intended. priority/medium Issue or PR that impacts some portions of the user base and should be resolved with due time.
Projects
None yet
Development

No branches or pull requests

4 participants