Skip to content

Custom Roles: Cannot edit an existing custom role, either says it exists if default lang or cannot save null if lang bundle and not defined. #8008

@kcondon

Description

@kcondon

While testing a change to roles, found some weird behavior when I tried to edit the name of a custom role or add a description after it was created:

  1. if languages are defined, eg. fr, en, and the bundles do not contain permission.role.not.created.alias.already.exists in the bundle file, then it throws a null exception.
  2. if default en language bundle, then throws exception that role already exists. I believe rather than updating it is trying to add new and detects itself, so fails to write.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions