Skip to content

Javascript broken on automation steps #18498

@mjashanks

Description

@mjashanks

Testing on BB Cloud.

I am unable to write javascript bindings on any automation steps.

A new step

  1. Create any new step
  2. Click on binding icon on an input
  3. Switch to javascript

RESULT:

Unable to click on bindings on the right hand side.

Console error

index-DyY6z5hv.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'push')
    at customConfigsPerType.aa.customConfigs.reduce (index-DyY6z5hv.js:404:172788)
    at Array.reduce (<anonymous>)
    at index-DyY6z5hv.js:404:172753
    at ma (index-DyY6z5hv.js:2:16123)
    at index-DyY6z5hv.js:2:16300
    at AIConfigStore.la [as subscribe] (index-DyY6z5hv.js:2:15715)
    at index-DyY6z5hv.js:2:15121
    at untrack (index-DyY6z5hv.js:1:36678)
    at subscribe_to_store (index-DyY6z5hv.js:2:15106)
    at index-DyY6z5hv.js:2:16209

An existing step

  1. Find a step that has a javascript binding
  2. Click on the binding icon

RESULT: javascript does not load into the input

Metadata

Metadata

Assignees

Labels

bb-automationsBudibase Automations related workbugSomething isn't workingenv - productionBug found in productionjavascriptRelating to user JavaScript in the builder

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions