Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0, 2.3.0
-
None
-
Stand alone installation
Description
Hi,
we have our own minimal minio plugin. Works fine with ranger 2.1.0. However from version 2.2.0 we start seeing two errors which might be related.
- we cannot edit the policies anymore.
- existing policy items show as in["<resource>"] the ui as to before as <resource>
I attach the service def and the policy to the ticket as json files.
The JS error:
RangerPolicyForm.js:706 Uncaught TypeError: Converting circular structure to JSON
--> starting at object with constructor 'HTMLInputElement'
| property 'jQuery351044576576053749032' -> object with constructor 'Object'
| property 'uiTagit' -> object with constructor 'e.<computed>.<computed>'
| property 'element' -> object with constructor 'me.fn.init'
— property '0' closes the circle
at JSON.stringify (<anonymous>)
at e.<computed>.<computed>.source (RangerPolicyForm.js:706:1)
at e.<computed>.<computed>.s [as source] (jquery-3.5.1.min.js:2:1)
at e.<computed>.<computed>._search (jquery-ui.min.js:9:1)
at e.<computed>.<computed>._search (jquery-ui.min.js:6:1)
at e.<computed>.<computed>.search (jquery-ui.min.js:9:1)
at e.<computed>.<computed>.search (jquery-ui.min.js:6:1)
at e.<computed>.<computed>.<anonymous> (jquery-ui.min.js:9:1)
at i (jquery-ui.min.js:6:1)