I cant edit and index node template

Hi! I encountered a problem while working on tree templates within the index template. Specifically, I’m having difficulty editing an index node using the patch method in Swagger. Here’s where I made the request.

/index_templates/{index_template_id}/nodes/{index_template_node_id}/

here is my payload:

{
"children": [
   "children": [],
   "enabled": true,
   "expression": "{{ document.label }}{{ | mul }}",
   "link_documents": true,
   "parent": 65
  ]
}

I am getting 500 bad response.

Hi,

  • For what version of Mayan is this issue?
  • Are you logged or is this with an anonymous user?
  • Does you user has the required permissions?
  • What is the text and the debug trace of the error (can be found in the console or the logs)?
  • Can you post a screenshot of the error debug information?

I was not able to replicate your issue. It works as intended in versions 4.4, 4.5, and 4.6, via Swagger and via the browseable view.

image

Are there other details that might be influencing or related in replicating your issue?