We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#10203 Upcoming publish/unpublish events are not visible in the overview.
This seams to be an issue with "number" vaules in (postgres only?).
It seams to be the equals in combination with number values. This request for example is not working with the input.doc.value where:
equals
input.doc.value
http://localhost:3000/api/payload-jobs?where[and][0][taskSlug][equals]=schedulePublish&where[and][1][input.doc.relationTo][equals]=bugs&where[and][2][input.doc.value][equals]=2
Without the input.doc.value it is returning the expected result.
http://localhost:3000/api/payload-jobs?where[and][0][taskSlug][equals]=schedulePublish&where[and][1][input.doc.relationTo][equals]=bugs
Representation in the database is the following. If i change the value to "1" instead of it beeing a number it is working again.
value
"1"
https://github.com/MichaelAlt/payload-schedule-bug
First startup the docker environment with postgres:
docker compose up -d
Startup payload:
pnpm i && pnpm dev
Create a new entry in the Bug collection and create and publish schedule. It will not appear in the list of upcoming events.
Bug
db-postgres, area: core
Binaries: Node: 20.9.0 npm: 10.2.4 Yarn: N/A pnpm: 9.15.2 Relevant Packages: payload: 3.12.0 next: 15.1.0 @payloadcms/db-postgres: 3.12.0 @payloadcms/email-nodemailer: 3.12.0 @payloadcms/graphql: 3.12.0 @payloadcms/next/utilities: 3.12.0 @payloadcms/payload-cloud: 3.12.0 @payloadcms/richtext-lexical: 3.12.0 @payloadcms/translations: 3.12.0 @payloadcms/ui/shared: 3.12.0 react: 19.0.0 react-dom: 19.0.0 Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 Available memory (MB): 36864 Available CPU cores: 11
The text was updated successfully, but these errors were encountered:
jmikrut
No branches or pull requests
Describe the Bug
#10203 Upcoming publish/unpublish events are not visible in the overview.
This seams to be an issue with "number" vaules in (postgres only?).
It seams to be the
equals
in combination with number values. This request for example is not working with theinput.doc.value
where:Without the
input.doc.value
it is returning the expected result.Representation in the database is the following. If i change the
value
to"1"
instead of it beeing a number it is working again.Link to the code that reproduces this issue
https://github.com/MichaelAlt/payload-schedule-bug
Reproduction Steps
First startup the docker environment with postgres:
Startup payload:
Create a new entry in the
Bug
collection and create and publish schedule. It will not appear in the list of upcoming events.Which area(s) are affected? (Select all that apply)
db-postgres, area: core
Environment Info
The text was updated successfully, but these errors were encountered: