Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hive hive
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 85
    • Issues 85
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivehive
  • Issues
  • #278

Closed
Open
Created Apr 25, 2022 by Piotr Batko@pbatkoDeveloper

[cli_wallet] Account creation with too long name doesn't cause error, but truncates name

Description

When account creation with too long name is requested (e.g. too-long-account-name) then wallet sends request to create account with truncated name (e.g. too-long-account, note that -name suffix is missing).

How to reproduce

I wrote test which reproduces that issue and tests correct behavior. Is available on branch: origin/pbatko/reproduce-issue-278.

Other notes

  • More tests should be written to cover other methods of accounts creation then create_account, like create_account_delegated, create_account_with_keys and so on...
  • Error description proposed in test can be modified. It's only a suggestion.
Edited Apr 25, 2022 by Piotr Batko
Assignee
Assign to
Time tracking