Describe the bug
The }bedrock.cube.view.create process creates a list of elements used in the view and is set to include all the N level descendants where pSuppressConsol = 1 and includes the consolidated element in the filter where pSuppressConsolStrings = 0, but the intermediate consolidations are not included. This process is called by the }bedrock.cube.data.copy process and results in sting data not being copied for the intermediate consolidations.
To Reproduce
Steps to reproduce the behavior:
Run the process with a consolidation (which has child consolidations) in the filter and the following parameters 'pSuppressConsol', 1, 'pSuppressConsolStrings', 0,.
Expected behavior
I would expect the intermediate consolidations to be included in the view if the filter consolidation is included.
Describe the bug The
}bedrock.cube.view.create
process creates a list of elements used in the view and is set to include all the N level descendants wherepSuppressConsol = 1
and includes the consolidated element in the filter wherepSuppressConsolStrings = 0
, but the intermediate consolidations are not included. This process is called by the}bedrock.cube.data.copy
process and results in sting data not being copied for the intermediate consolidations.To Reproduce Steps to reproduce the behavior: Run the process with a consolidation (which has child consolidations) in the filter and the following parameters
'pSuppressConsol', 1, 'pSuppressConsolStrings', 0,
.Expected behavior I would expect the intermediate consolidations to be included in the view if the filter consolidation is included.
Additional context
Current code
Suggested fix - Making the test at 345 a IF ELSE
The If at 352 would stay to put the C elements from the filter into the set as the fix above will only do the intermediate C elements.