Skip to content

}bedrock.hier.create.fromsubset references incorrect cube for CellIsUpdateable #433

@rb524

Description

@rb524

Describe the bug
The CellIsUpdateable functions in the data tab of the }bedrock.hier.create.fromsubset process refer to the source cube instead of the target cube. This causes an error when running the process as the element is prefixed by the hierarchy, and the hierarchy may not exist in the dimension of the source cube where the cube is different to the target cube. This is an issue with PA 2.1.8. It may not have been an issue with earlier PA versions.

To Reproduce
Steps to reproduce the behavior:

  1. Run the }bedrock.hier.create.fromsubset process to copy the elements of a subset from a dimension to a different dimension (it can be a new dimension).
  2. The process will error on the CellIsUpdateable lines.

Expected behavior
The process needs to check that the cell is updateable in the target cube (attribute cube or target dimension). A temporary fix is to change the cube in the data tab.

Screenshots

Process used to generate error
Image

Errors generated.
Image

Change for temporary fix
Image

Version

  • OS: Windows 11
  • TM1 Server Version: PA 2.1.8

Additional context
The errors are on lines 29 and 40 of the data tab.

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