8000 🐛 Bug Report: Schedules not working for functions with the same ID · Issue #8583 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: Schedules not working for functions with the same ID #8583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
joern-h opened this issue Aug 27, 2024 · 1 comment · Fixed by #8641
Closed
2 tasks done

🐛 Bug Report: Schedules not working for functions with the same ID #8583

joern-h opened this issue Aug 27, 2024 · 1 comment · Fixed by #8641
Assignees
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@joern-h
Copy link
joern-h commented Aug 27, 2024

👟 Reproduction steps

  1. Create two appwrite projects
  2. On each project, create and deploy a function with the same id
  3. Set a Cron schedule for the functions, in my case "*/5 * * * *"

The error lies in ScheduleBase.
The key for the schedules array is the "resourceId" -> the function id.

👍 Expected behavior

It should execute both functions

👎 Actual Behavior

Only the function that was last changed is executed

🎲 Appwrite version

Version 1.5.x

💻 Operating system

Linux

🧱 Your Environment

Appwrite 1.5.10

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@joern-h joern-h added the bug Something isn't working label Aug 27, 2024
@stnguyen90 stnguyen90 added the product / functions Fixes and upgrades for the Appwrite Functions. label Aug 27, 2024
@stnguyen90 stnguyen90 moved this to Todo in 1.6 Release Aug 27, 2024
@stnguyen90
Copy link
Contributor

@joern-h, thanks for raising this issue! 🙏🏼 We'll look into this as soon as possible!

@stnguyen90 stnguyen90 linked a pull request Sep 16, 2024 that will close this issue
3 tasks
@github-project-automation github-project-automation bot moved this from Todo to Done in 1.6 Release Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants
0