ui icon indicating copy to clipboard operation
ui copied to clipboard

BUG: flows dashboard and quickrun throw errors when enabling a schedule when no schedules exist

Open dylanraithel opened this issue 2 years ago • 2 comments

Bug Description

This is more of a user experience gap than a pure bug. The graphql response in the browser indicates a server failure when attempting to enable or disable a flowrun schedule if there's no schedule for the flow. Once a schedule exists, toggling schedules on/off works as expected

Steps To Reproduce

  1. Create a project
  2. Regiser a flow
  3. *Make sure no schedules exist
  4. Go to the flows dashboard or quickrun screen and toggle the schedule on or off

Browsers Tested:

  • [ ] Chrome
  • [ ] Firefox
  • [x] Safari
  • [ ] Edge
  • [ ] IE

Notes Screen Shot 2022-04-18 at 11 13 10 AM Screen Shot 2022-04-18 at 11 57 05 AM Screen Shot 2022-04-18 at 11 57 19 AM

[{ "data": { "set_schedule_active": { "success": false, "__typename": "success_payload" } } }]

dylanraithel avatar Apr 19 '22 00:04 dylanraithel

At the minimum, the request here is a warning message to check if a schedule is properly set.

kvnkho avatar Apr 19 '22 00:04 kvnkho

I encountered this misleading error message as well and was scratching my head. +1 for a clearer warning message.

ShaoyiZhang avatar Jun 09 '22 02:06 ShaoyiZhang