You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding data to the draft, the first PATCH request successfully adds data to the existing draft. But if the same request is made with the identical payload/data (e.g. joe@abc.def) for the same path (e.g. contact_email), Internal Server Error (500) will be returned from the API.
The indent theory has been briefly tested and it seems that fixing indentation fixes the problem.
Full unit test suite was not yet run. @gcakir do you want to open a pull request?
The indent theory has been briefly tested and it seems that fixing indentation fixes the problem. Full unit test suite was not yet run. @gcakir do you want to open a pull request?
While adding data to the draft, the first PATCH request successfully adds data to the existing draft. But if the same request is made with the identical payload/data (e.g.
joe@abc.def
) for the same path (e.g.contact_email
),Internal Server Error (500)
will be returned from the API.This seems to be happening because publication state disappears in
b2share/b2share/modules/deposit/permissions.py
Line 323 in 8834415
Could it be that whole block in this part is indented one level less than it should be?
@JohannesLares
@hjhsalo
The text was updated successfully, but these errors were encountered: