[
https://issues.apache.org/jira/browse/RANGER-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonas Hartwig updated RANGER-3618:
----------------------------------
Affects Version/s: 2.3.0
> Javascript JSON serialisation issue in ranger 2.2.0
> ---------------------------------------------------
>
> Key: RANGER-3618
> URL: https://issues.apache.org/jira/browse/RANGER-3618
> Project: Ranger
> Issue Type: Bug
> Components: admin, Ranger
> Affects Versions: 2.2.0, 2.3.0
> Environment: Stand alone installation
> Reporter: Jonas Hartwig
> Priority: Major
> Labels: rangeradmin
> Attachments: Screenshot 2022-02-11 at 13.15.35.png,
> minio-service-def.json, minio-service.json, minio-tmp-policy.json
>
>
> 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)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)