https://prefect.io logo
Title
y

Yaron Levi

05/01/2023, 11:40 AM
🔥 Sorry for posting this issue here as it’s already posted in Github. It’s just super critical for us, and we are stuck running flows in our production env. When editing an ECS Task Block in the Prefect Cloud UI, when you clear a json field, at won’t come back to a None value but instead set to an empty string “”. There is no way to remove this empty string other than creating a new ECS block. But this new Block can’t have the same name. It would be great if someone from Prefect’s team can have a quick look. Thank you for any help on the issue! 🙏 https://github.com/PrefectHQ/prefect/issues/9378
For example:
j

Jenny

05/01/2023, 12:35 PM
Hi @Yaron Levi - thanks for flagging. We'll look into the ticket but as a workaround for your team, you can set the json to null in order to clear it. https://www.loom.com/share/ae9ea63bf49241248df5575d8b5ed851
y

Yaron Levi

05/01/2023, 12:36 PM
Thanks! I’ll try it.
👍 1
j

Jenny

05/01/2023, 12:40 PM
Can you let me know if that works ok for you @Yaron Levi so I know how best to prioritize the issue. Thanks!
👀 1
y

Yaron Levi

05/01/2023, 12:43 PM
CleanShot 2023-05-01 at 15.43.28@2x.jpg
For some reason it not as you’ve shown in the video.
j

Jenny

05/01/2023, 12:49 PM
It needs to be
null
the value not null the string. So
null
rather than "null". https://www.loom.com/share/ee53bffb01e445e5bf3110c37ae83b03
y

Yaron Levi

05/01/2023, 12:49 PM
yes… I wrote it like so:
🤔 1
CleanShot 2023-05-01 at 15.50.17@2x.jpg
Then pressed “save”
j

Jenny

05/01/2023, 1:06 PM
Ahh ok. Looks like we're expecting a different property (array) for the command input so it's handled slightly differently to the labels I demo'd with. That will still set it to null but I agree it's confusing. I'll ask the team to look into it.
y

Yaron Levi

05/01/2023, 1:06 PM
Ok Great (-: