You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2018/05/23 12:38:00 UTC

[jira] [Commented] (KNOX-1331) [Admin-UI] Unabled to update XML format provider file from admin ui

    [ https://issues.apache.org/jira/browse/KNOX-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487177#comment-16487177 ] 

Phil Zampino commented on KNOX-1331:
------------------------------------

The issue is that you're starting with an XML provider configuration file. The XML support is really a remnant of the iterative development of the dynamic topology generation feature. It is supported, but the intent is for admins to use JSON or YAML. Thus, the UI, when asked to update an XML provider configuration, will actually replace it with JSON. The issue you are seeing is a result of this; the UI is attempting to delete the original XML file, so it can replace it with the JSON equivalent, but the provider configuration is already referenced by one or more descriptors, so the deletion is not permitted.

It's possible that this conflict could be avoided.

> [Admin-UI] Unabled to update XML format provider file from admin ui
> -------------------------------------------------------------------
>
>                 Key: KNOX-1331
>                 URL: https://issues.apache.org/jira/browse/KNOX-1331
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: AdminUI
>    Affects Versions: 0.14.0
>            Reporter: J.Andreina
>            Assignee: Phil Zampino
>            Priority: Critical
>             Fix For: 1.0.0, 1.1.0
>
>
> Unable to update XML format provider file from admin UI
> Step1: Created an xml provider config file (my-providers) and a JSON descriptor file (ui.json), which references it.
>  Step2: Uploaded both provider and descriptor file using knoxcli.sh upload command. Topology file generated
>  Step 3: Modify the provider config (my-providers) from admin UI, and try to save the change(s).
> {color:#FF0000}*Issue:*{color}
>  Unable to save the modified provider file from admin UI



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)