Steps to reproduce
POSTing minimal required message for AS creation:
{
"title": "title",
"description": "",
"portal_type": "AnalysisService",
"parent_path": "/senaite/bika_setup/bika_analysisservices",
"Keyword": "TEST_AS",
"Category": <category uid>,
"PointOfCapture": "lab"
}
Current behavior
returns error message:
{"_runtime": 0.6848359107971191, "message": "'NoneType' object has no attribute '__getitem__'", "success": false}
The object seems to be created and can be accessed by direct URL, but not seen in AS folder.
If you open object by direct URL and press the save button - everything becomes fine and AS can be found in AS list
Expected behavior
- More details in error message;
- Create AS properly
Screenshot (optional)