← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1847223] [NEW] regular expression of Container Name doesn't work

 

Public bug reported:

When I try to create a new container with some short names, error
messages show up.

The description of "name" field only says 'Container name must not
contain "/".' and I check the code find regular express as this :
'^[^/]+$'. It seems only character "/" is not allowed.

But the truth is that I failed to create container with name like '1',
'aa'.

So, is it a bug caused by clientside-serverside difference?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1847223

Title:
  regular expression of Container Name doesn't work

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When I try to create a new container with some short names, error
  messages show up.

  The description of "name" field only says 'Container name must not
  contain "/".' and I check the code find regular express as this :
  '^[^/]+$'. It seems only character "/" is not allowed.

  But the truth is that I failed to create container with name like '1',
  'aa'.

  So, is it a bug caused by clientside-serverside difference?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1847223/+subscriptions


Follow ups