cloudflare / cloudflare/developer-platform

dashboard: Worker Cron Job Scheduler Fails to Save

Đang mở
#30 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
awaiting-response:cloudflare
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### What versions & operating system are you using?

Safari 26.5 and Chrome 148.0.7778.179

### Please provide a link to a minimal reproduction

https://plain-fire-41bd.bach-project-services.workers.dev

### Describe the Bug

When I am using the web to attempt to add a cronjob trigger, it fails to save. To reproduce the issue, I go to settings -> Add next to Trigger Events -> Cron triggers -> Add (the default doesn't work). When clicking the final Add button, nothing happens to the interface.

I also attempted to change the frequency to every 1 minute, every 1 hour, every 3 hours, and every 5 hours, none of which would save.

When I go to my browser console, I can see that there were 2 400 responses returned after clicking the save button. I then went to the network tab and see that the browser is sending a blank string as the cron schedule which fails on the validate and describe endpoints and therefore does not actually save.

Workaround: In the sidebar panel where you choose your frequency, choose the tab for "Cron expression". Here, you can write your own cron schedule the way you would with a cron job on any other server/computer.

The issue: the web interface is not interpreting the dropdown and text field inputs correctly and therefore sending a blank string to be validated which fails. Another related issue is that when this fails, there should be some form of an error message that appears to the user allowing them to make changes but this does not happen either, leaving the user confused on what happened.

### Please provide any relevant error logs

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với URL tái hiện và đi theo Settings → Add bên cạnh Trigger Events → Cron triggers → Add trong Safari hoặc Chrome. Sử dụng các bảng Network và console của trình duyệt để xác nhận rằng yêu cầu lưu gửi một lịch cron trống và trả về các phản hồi 400. Được xem là hoàn tất khi các lựa chọn trong danh sách thả xuống và trường văn bản tạo ra một lịch hợp lệ, được lưu thành công và hiển thị lỗi khi việc lưu thất bại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
frontend, web-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.