🐞 Bug Report: bedrock.cube.data.copy incorrectly aborts on partial dimension matches
Description
The process bedrock.cube.data.copy aborts when the parameter pZeroTarget = 1 is set and at least one of the mapped dimensions has the same source and target element.
This behavior is incorrect.
The process should only abort if all mapped dimensions have identical source and target elements.
Currently, the process stops even when only one of several mapped dimensions matches.
Current Behavior
- The process aborts if any single mapped dimension has identical source and target elements.
Expected Behavior
- The process should abort only if all mapped dimensions have identical source and target elements.
- If only some dimensions match but at least one differs, the process should not abort.
Example Mappings
Mapping (pEleMapping) |
Current Behavior |
Expected Behavior |
Mismatch |
Scenario: A → A |
Abort |
Abort |
– |
Scenario: A → A & Year: 2026 → 2027 |
Abort |
Do not abort |
❌ |
Scenario: A → A & Year: 2026 → 2026 |
Abort |
Abort |
– |
Summary
The abort logic for pZeroTarget = 1 is currently too strict.
It aborts on partial dimension matches, but should only abort when all mapped dimensions match exactly.
🐞 Bug Report:
bedrock.cube.data.copyincorrectly aborts on partial dimension matchesDescription
The process
bedrock.cube.data.copyaborts when the parameterpZeroTarget = 1is set and at least one of the mapped dimensions has the same source and target element.This behavior is incorrect.
The process should only abort if all mapped dimensions have identical source and target elements.
Currently, the process stops even when only one of several mapped dimensions matches.
Current Behavior
Expected Behavior
Example Mappings
pEleMapping)A → AA → A& Year:2026 → 2027A → A& Year:2026 → 2026Summary
The abort logic for
pZeroTarget = 1is currently too strict.It aborts on partial dimension matches, but should only abort when all mapped dimensions match exactly.