cancel
Showing results for 
Search instead for 
Did you mean: 

File name with non-standard characters?

pascalsartorett
Champ in-the-making
Champ in-the-making
I found the following warning in Alfresco's log file, due to the fact that a file has named containing non-standard characters (a "&" in this case):

12:01:20,819 WARN  [node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/88629194-1256-11db-97ae-858c95cf23b4
   Type: {http://www.alfresco.org/model/content/1.0}content
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: Value 'Test&retest.ppt' matches regular expression: .*[\"\*\\\>\<\?\/\:\|\xA3\xAC\%\&\+\;]+.*

What is the consequence? I know that it is a good Unix practice to avoid file names with such characters, but I can't avoid my users to use them…

Pascal
1 REPLY 1

timv
Champ in-the-making
Champ in-the-making
Hi,

I added a constraint for a regular expression on one of my properties. I was expected to get an error in the web client about this, but unfortunately the value was saved. In the log I can see the 'invalid property value'.

How can I force this constraint in the web client?