OPTIONS requests for list API endpoints raises an exception #5470
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
OPTIONS
request to a REST API list endpoint. For example:(Note that all REST API endpoints are affected, not just the one above.)
Expected Behavior
The response should return metadata for the endpoint. An example is below.
Observed Behavior
An exception is raised:
It appears that the introduction of bulk update support poses a problem when rendering metadata for the endpoint, since the metadata class calls
get_object()
when evaluating fields forPOST
andPUT
requests.The text was updated successfully, but these errors were encountered: