Cannot use some document names if Smart Folders feature is enabled

Description

Summary
When Smart Folders feature is enabled, it is not possible to create a file named "v020219Draft.pdf" nor "v00Draft.pdf". Note that "v0Draft.pdf" works fine though.

Supporting evidence
First it is required to enable Smart Folders, e.g. setting property below in alfresco-global.properties and restarting ACS:

Using the REST API, an Exception occurs when creating documents with specific names:

The full stack trace :

Expected Behaviour
When creating a document with name "v020219Draft.pdf", the document is created

Observed Behaviour
When creating a document with name "v020219Draft.pdf", the document is not created

Workaround
It is possible to create the file with another name, e.g. "draft.pdf" and then rename it to "v020219Draft.pdf" without any issue.

Environment

None

Testcase ID

None

Activity

Show:
Fixed

Assignee

Unassigned

Reporter

Nicolas Barithel

Labels

Escalated By

None

Security Issue

None

ACT Numbers

01016423

Premier Customer

Yes

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

Team 7

Bug Priority

Category 3

Story Points

1

Components

Sprint

None

Fix versions

Affects versions