Skip to content

bedrock.cube.data.copy #444

@balooox

Description

@balooox

🐞 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions