Skip to content

Conversation

@eiresendez
Copy link
Contributor

@eiresendez eiresendez commented Apr 4, 2023

Issue & Reproduction Steps

An error occurs when a script with Draft status is assigned in a watcher.

  1. Create a new Script. Do not edit/update.
  2. Create a new Screen.
  3. Add a watcher using the script of above.
  4. Preview and test watcher.
  5. Get error 500.

Solution

  • There's an issue when creating a new Script, it's code column is created with an empty array [].
  • Now, when a new script is created, we trigger the save-script event to store the boilerplate template.

How to Test

Please follow the reproduction steps of above.

Related Tickets & Packages

@eiresendez eiresendez merged commit b49108a into feature/FOUR-7330 Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants