Skip to content

Cannot create role with : in name #1480

Closed
@dblythy

Description

@dblythy

New Issue Checklist

Issue Description

When creating a new role, using : in the string prevents "name" from being set. I am not sure why this is.

Steps to reproduce

await new Parse.Role(Test:Test, new Parse.ACL()).save(null, {useMasterKey: true});

Actual Outcome

Error: name is required.

Expected Outcome

Role to save

Environment

Server

  • Parse Server version: FILL_THIS_OUT
  • Operating system: FILL_THIS_OUT
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): FILL_THIS_OUT

Database

  • System (MongoDB or Postgres): FILL_THIS_OUT
  • Database version: FILL_THIS_OUT
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): FILL_THIS_OUT

Client

  • Parse JS SDK version: FILL_THIS_OUT

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions