[jira] Created: (SMX4KNL-64) The list of repositories for the features shell is not persisted across restart

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (SMX4KNL-64) The list of repositories for the features shell is not persisted across restart

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The list of repositories for the features shell is not persisted across restart
-------------------------------------------------------------------------------

                 Key: SMX4KNL-64
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-64
             Project: ServiceMix Kernel
          Issue Type: Bug
            Reporter: Guillaume Nodet


It should work as we use the preferences service to store them (and it was working at some point), but it must be broken now.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-64) The list of repositories for the features shell is not persisted across restart

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/SMX4KNL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44531#action_44531 ]

Guillaume Nodet commented on SMX4KNL-64:
----------------------------------------

The problem happens because when the features service loads the state, it needs the URL handlers to be registered, else a MalformedURLException is thrown.
One possible work around would be to defer the creation of the URL until they are actually needed.

> The list of repositories for the features shell is not persisted across restart
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-64
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-64
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>
> It should work as we use the preferences service to store them (and it was working at some point), but it must be broken now.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4KNL-64) The list of repositories for the features shell is not persisted across restart

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/SMX4KNL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SMX4KNL-64.
------------------------------------

    Fix Version/s: 1.0.0
       Resolution: Fixed

Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/FeaturesService.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/Repository.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/FeaturesServiceImpl.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/RepositoryImpl.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/commands/AddUrlCommand.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/commands/ListUrlCommand.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/commands/RefreshUrlCommand.java
Sending        gshell-features/src/main/java/org/apache/servicemix/gshell/features/internal/commands/RemoveUrlCommand.java
Transmitting file data ........
Committed revision 679691.

> The list of repositories for the features shell is not persisted across restart
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-64
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-64
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>             Fix For: 1.0.0
>
>
> It should work as we use the preferences service to store them (and it was working at some point), but it must be broken now.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price