# Bug COMMS-781 - All-numeric project identifiers are not properly handled in classic mode

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-781

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.5.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Before filing a report

_Before you file a report, please ensure you are running the latest version of OpenProject and_&nbsp;  
_have searched for similar bug reports._

### Steps to reproduce

UI issue:

1.  Go to project creation page in UI in classic mode
    
2.  Enter an all-numeric project name (e.g. 12345).
    
3.  Click Create
    
4.  Site throws an error on invalid identifier field (which got auto-suggested to 12345)
    

API issue: 

1.  Issue a create API call with an all-numeric project name in classic mode
    
2.  Observe the 422
    

###   

### What is the expected behavior?

The UI should _not_ be auto-suggestion all-numeric identifiers. Instead, it should suggest a decorated identifier such as `project-12345`.

The API should also auto-generate a similar identifier when none is given.
