You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/08/31 05:45:00 UTC

[jira] [Commented] (KARAF-7155) Deleting a factory configuration doesn't delete the associated json file

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

Jean-Baptiste Onofré commented on KARAF-7155:
---------------------------------------------

Can you describe your use case ?

I just tested and it seems to work for me ;)

Here's what I did:
 # I created a configuration file {{etc/my.config-foo.json}} 
 # I deleted the configuration (with the UUID): {{config:delete my.config.31132131321}}
 # The json file is deleted from the {{etc}} folder

Do you use something different ?

> Deleting a factory configuration doesn't delete the associated json file
> ------------------------------------------------------------------------
>
>                 Key: KARAF-7155
>                 URL: https://issues.apache.org/jira/browse/KARAF-7155
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.2
>            Reporter: Joao Assuncao
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Deleting a factory configuration created with json  as the file type will leave the respective json file in the file system. This occurs  either via config:delete  or webconsole. If Karaf is restarted, the configuration will be recreated. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)