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

Broken suggestions in the API console #1358

Closed
AlexRuiz7 opened this issue Jul 21, 2022 · 0 comments · Fixed by #1359
Closed

Broken suggestions in the API console #1358

AlexRuiz7 opened this issue Jul 21, 2022 · 0 comments · Fixed by #1359
Assignees
Labels
type/bug Bug issue

Comments

@AlexRuiz7
Copy link
Member

Wazuh Splunk Rev
4.3.5 8.2.6 4309

Description
Due to the refactor from #1296, a bug has been introduced in 4.3.6 and the suggestions has stopped working.

Steps to reproduce

  1. Go to 'Dev tools / API console'
  2. Type anything '....'
  3. See that no suggestions are being shown
  4. See the error in the console
devToolsCtrl.js:497 Uncaught TypeError: Cannot read properties of undefined (reading 'destructureGroup')
    at getDictionary (devToolsCtrl.js:497:20)
    at devToolsCtrl.js:783:15
    at CodeMirror.showHint (show-hint.js:43:38)
    at CodeMirror.commands.autocomplete (devToolsCtrl.js:252:20)
    at CodeMirror$1.execCommand (codemirror.js:12602:32)
    at devToolsCtrl.js:210:14
    at signal (codemirror.js:1637:19)
    at signalDOMEvent (codemirror.js:1653:5)
    at CodeMirror$1.onKeyUp [as triggerOnKeyUp] (codemirror.js:10728:5)
    at HTMLTextAreaElement.<anonymous> (codemirror.js:11953:22)

Screenshots
image

image

@AlexRuiz7 AlexRuiz7 added the type/bug Bug issue label Jul 21, 2022
@AlexRuiz7 AlexRuiz7 self-assigned this Jul 21, 2022
@AlexRuiz7 AlexRuiz7 moved this to In Progress in Release 4.3.7 Jul 21, 2022
@AlexRuiz7 AlexRuiz7 moved this from In Progress to In review in Release 4.3.7 Jul 21, 2022
@AlexRuiz7 AlexRuiz7 linked a pull request Jul 21, 2022 that will close this issue
Repository owner moved this from In review to Done in Release 4.3.7 Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant