Project

General

Profile

Actions

Defect #44

closed

Project name limitations?

Defect #44: Project name limitations?

Added by Damien McKenna over 19 years ago. Updated almost 19 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Affected version:

Description

I attempted to create a project with the name "www.mywebsite.com" but it refuses to allow that project name.

Updated by Jean-Philippe Lang over 19 years ago Actions #1

Dots are not allowed. Maybe they should be...

Updated by Damien McKenna over 19 years ago Actions #2

The instructions on the project creator needs to either say it
or the limits should
be removed. I personally don't see any reason to restrict it
from common
characters, like periods, as they are often used to name projects,
e.g. my
example of using a website domain name as the project name.

Updated by Pavol Murin over 19 years ago Actions #3

well, the validator is in app/models/project.rb:

validates_format_of :name, :with => /^[\w\s\'\-]*$/i

I can't see any reason why this restriction is there - maybe
for regexp purposes?

muro

Updated by Derek Montgomery about 19 years ago Actions #4

Remove the limitations on name field, just keep them on project
identifier

Updated by Jean-Philippe Lang almost 19 years ago Actions #5

Fixed in r949.
Project name can now contain any character.

Actions

Also available in: PDF Atom