Skip to content

Commit

Permalink
MID-3431 fixed (Saving changes in Configuration/Profiling configurati…
Browse files Browse the repository at this point in the history
…on will disable profiling)
  • Loading branch information
KaterynaHonchar committed Dec 7, 2016
1 parent 9904f7f commit ea7e35e
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -65,6 +65,7 @@ private void init(ProfilingConfigurationType profilingConfiguration,

if (profilingConfiguration != null) {

profilingEnabled = checkXsdBooleanValue(profilingConfiguration.isEnabled());
requestFilter = checkXsdBooleanValue(profilingConfiguration.isRequestFilter());
performanceStatistics = checkXsdBooleanValue(profilingConfiguration.isPerformanceStatistics());
subsystemModel = checkXsdBooleanValue(profilingConfiguration.isModel());
Expand Down Expand Up @@ -122,7 +123,8 @@ public ProfilingConfigurationType getNewObject() {

ProfilingConfigurationType config = new ProfilingConfigurationType();

if (isPerformanceStatistics() || isRequestFilter() || isSubsystemModel() || isSubsystemRepository()
if (isProfilingEnabled() || isPerformanceStatistics() || isRequestFilter()
|| isSubsystemModel() || isSubsystemRepository()
|| isSubsystemProvisioning() || isSubsystemSynchronizationService() || isSubsystemUcf()
|| isSubsystemTaskManager() || isSubsystemWorkflow())
config.setEnabled(true);
Expand Down

0 comments on commit ea7e35e

Please sign in to comment.