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

[Bug] Can't use effect outputs in Preset Effect List arguments #2444

Closed
1 task done
CKY- opened this issue Mar 4, 2024 · 0 comments
Closed
1 task done

[Bug] Can't use effect outputs in Preset Effect List arguments #2444

CKY- opened this issue Mar 4, 2024 · 0 comments
Assignees
Labels
Bug A defect in the app

Comments

@CKY-
Copy link
Collaborator

CKY- commented Mar 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when using shorthand effectOutputs in preset arguments it is casing an error of
WARN Unable to parse variables for value: '$&formatedEmoteData'

Expected Behavior

to pass whats in the effectOutput to the argument,

Steps To Reproduce

No response

Version

5.61.2

What operating system are you using Firebot on?

Windows 10

Relevant log output

[2024-03-04 18:15:26.0674] - warn: Unable to parse variables for value: '$&formatedEmoteData' 
{
  message: "Cannot read properties of undefined (reading 'formatedEmoteData')",
  stack: "TypeError: Cannot read properties of undefined (reading 'formatedEmoteData')\n" +
    '    at Object.evaluator (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\variables\\replace-variable-manager.js:81:48)\n' +
    '    at LookupToken.evaluate (F:\\fork-firebot\\Firebot\\Firebot\\node_modules\\expressionish\\src\\tokens\\lookup.js:55:39)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
    '    at async evaluate (F:\\fork-firebot\\Firebot\\Firebot\\node_modules\\expressionish\\src\\evaluate.js:53:21)\n' +
    '    at async findAndReplaceVariables (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:25:33)\n' +
    '    at async findAndReplaceVariables (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:40:13)\n' +
    '    at async runEffects (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:92:9)\n' +
    '    at async Promise.all (index 1)\n' +
    '    at async Object.onEventTriggered (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\events\\events-router.js:100:9)'
}

Contact Details (Optional)

No response

@CKY- CKY- added the Bug A defect in the app label Mar 4, 2024
@CKY- CKY- added Dev Complete Release Pending Issue has been resolved and is waiting to be packaged as part of a release and removed Dev Complete Release Pending Issue has been resolved and is waiting to be packaged as part of a release labels Jul 19, 2024
@ebiggz ebiggz self-assigned this Jul 25, 2024
@ebiggz ebiggz changed the title [Bug] shorthand outputeffect causing error when used in Preset Effect Argument [Bug] Can't use effect outputs in Preset Effect List arguments Jul 25, 2024
@ebiggz ebiggz closed this as completed in bd2cfe3 Aug 18, 2024
@github-actions github-actions bot removed Dev Complete Release Pending Issue has been resolved and is waiting to be packaged as part of a release labels Aug 18, 2024
@github-project-automation github-project-automation bot moved this to Closed in Work Status Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A defect in the app
Projects
Status: Closed
Development

No branches or pull requests

2 participants