You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2010/08/26 10:43:57 UTC
[jira] Updated: (KARAF-167) Creating a new config using the shell
commands lead to a FileNotFoundException instead of the file being created
[ https://issues.apache.org/jira/browse/KARAF-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated KARAF-167:
-----------------------------------
Attachment: KARAF-167.patch
I am attaching a patch that changes org.apache.karaf.shell.config.Properties, so that it does not attempt to load non existent files. Also it adds 2 null checks when retrieving Layouts.
This way a user can create a new config, like this:
karaf@root> config:edit my.non.existent.file
karaf@root> config:propset key value
karaf@root> config:update
and the file is created.
I hope this is enough
> Creating a new config using the shell commands lead to a FileNotFoundException instead of the file being created
> ----------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-167
> URL: https://issues.apache.org/jira/browse/KARAF-167
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Guillaume Nodet
> Attachments: KARAF-167.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.