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
When using that recipe as a POST in another organisation KAT returns:
{"type":"validation_error","errors":[{"code":"blank","detail":"This field may not be blank.","attr":"subreport_name_format"}]}
When trying the above with something filled in the subreport_name_format (e.g. "Aggregate Organisation Report") the organisations posted to instead create a "Concatenated report" with a different Scheduled for time.
When doing 2) again a new "Concatenated report" is created, even though the id given in the POST is the same as POST-ed before.
When attempting to access the API endpoints in the browser when logged in KAT throws an AssertionError.
To Reproduce
Steps to reproduce the behavior:
Create a scheduled aggregate report
GET it
POST it
Try accessing through the browser when logged in.
Expected behavior
What I am looking for is something like /clone_katalogus_settings/ but instead for reports. This should be doable by GET-ing and POST-ing instead but the above quirks make it difficult.
Screenshots
1,2,3)
OpenKAT version
main - 4/5 dec.
The text was updated successfully, but these errors were encountered:
Describe the bug
The report API as introduced in #3746 behaves unexpectedly in some cases:
When using that recipe as a POST in another organisation KAT returns:
subreport_name_format
(e.g. "Aggregate Organisation Report") the organisations posted to instead create a "Concatenated report" with a differentScheduled for
time.2)
again a new "Concatenated report" is created, even though theid
given in the POST is the same as POST-ed before.To Reproduce
Steps to reproduce the behavior:
Expected behavior
What I am looking for is something like
/clone_katalogus_settings/
but instead for reports. This should be doable by GET-ing and POST-ing instead but the above quirks make it difficult.Screenshots
1,2,3)
OpenKAT version
main - 4/5 dec.
The text was updated successfully, but these errors were encountered: