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/11/26 17:00:00 UTC

[jira] [Resolved] (KARAF-7282) global autoRefresh logic does not work as expected

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

Jean-Baptiste Onofré resolved KARAF-7282.
-----------------------------------------
    Fix Version/s: 4.4.0
                   4.3.4
       Resolution: Fixed

> global autoRefresh logic does not work as expected
> --------------------------------------------------
>
>                 Key: KARAF-7282
>                 URL: https://issues.apache.org/jira/browse/KARAF-7282
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.3
>            Reporter: Stefan Wachter
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.4.0, 4.3.4
>
>
> In KARAF-6953 a new global configuration setting {{autoRefresh}} was added. When that property is set to {{false}} then in the {{Deployer.deploy}} method the logic is reversed, i.e. auto refreshing takes place.
> This happens by the code:
> {code:java}
>  if (!request.autoRefresh) {
>     noRefreshUnmanaged = request.autoRefresh;
>     noRefreshManaged = request.autoRefresh;
>     noRefresh = request.autoRefresh;
> }
> {code}
> The result is that all {{noRefresh...}} variables are set to {{false}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)