Skip to content

getLocale, getLayer: merge order #2559

@dbauszus-glx

Description

@dbauszus-glx

The getLocale module method calls the mergeTemplates() method before the Roles.check() followed by Roles.objMerge().

The getLayer module method calls Roles.check() followed by Roles.objMerge() first before the mergeTemplates() method.

The logic should be the same for both module methods. Tests should be added whether the order makes a difference with the objects that have roles with templates, and templates with roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeIssues related to the code structure and performance.TestingChanges relating to existing or new unit tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions