You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/08 13:39: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=17359363#comment-17359363 ] 

ASF GitHub Bot commented on KARAF-7155:
---------------------------------------

jbonofre commented on pull request #1379:
URL: https://github.com/apache/karaf/pull/1379#issuecomment-856775796


   @jassuncao what about using `felix.fileinstall.filename` to delete the file ? This way we don't have to store the factory/pid in the map, just read the `felix.fileinstall.filename` from the properties and remove it.
   It's the fix I did.
   Thoughts ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)