-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet
Description
Link to reproduction
https://github.com/KomlevDm/payload/tree/access-query-issue
To Reproduce
- go to
test/_community/collections/Media/index.ts - add query to
MediaCollection.access.read(test/_community/collections/Media/prod.tsandtest/_community/collections/Media/published.ts) - start dev server
- open
http://localhost:3000/admin/collections/media - page is broken
- get error
The following paths cannot be queried: _prod, _prod, _status, _status
Describe the Bug
Our team has migrated from 1.6.32 to 1.7.4 version. And now we get a global problem (400 Bad Request) in admin panel: The following paths cannot be queried. We think it's related to feat: refactors buildQuery to rely on fields instead of mongoose (d187b809d) in 1.7.0 release. Something very similar was here, but unfortunately it doesn’t fix current issue.
Payload Version
1.7.4
Metadata
Metadata
Assignees
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet




