Closed Sakoes closed 1 year ago
Apparently this is a duplicate of an already fixed issue: https://github.com/plone/plone.restapi/issues/1575. However, since I am still experiencing this issue, I will leave this issue open until I have found I why. My best guess is that I might be using an older version of the package that doesn't have the fix
Solution is to upgrade to the latest version
Problem: Patching an array in the /@registry endpoint raises a WrongType error as the array is interpreted as a tuple.
Context: I am trying to patch registry entries for cache purging options. This is the registry entry:
However, when I want to patch the value:
I get following error:
Notes: It looks like the array with the new values gets interpreted as a tuple instead of an array. I tried the obvious by changing the array in my data to a tuple
But it raises the same error