[
https://issues.apache.org/jira/browse/KARAF-7282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450293#comment-17450293
]
ASF subversion and git services commented on KARAF-7282:
--------------------------------------------------------
Commit da32f00cc2e7f4580464e6677c87efa4d195feac in karaf's branch
refs/heads/karaf-4.3.x from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=da32f00 ]
[KARAF-7282] Fix noAutoRefresh* flags when using global autoRefresh=false
(cherry picked from commit e39d9e1241f9d5d545a2e080de7bd1f5a13b8ce3)
> 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
>
> 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)