AnsweredAssumed Answered

REGEX Constraint affects empty form propierties

Question asked by huarte on Jul 23, 2015
In my custom model, I have created a constraint in a text form camp, with a Regex expression. This works fine, but, when Alfresco checks the integrity of the file, throws an error.

The error is:

2015-07-23 12:34:07,227 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] [http-apr-8080-exec-65] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/eb36c01b-b752-4bbd-99ef-3c31c3bff42b
   Name: XXXXXXXXXX.pdf
   Type: {xxxx.xxx}xxxxxx
   Property: {xxxx.model}property
   Constraint: 06230253 Value '' does not match regular expression: ^O.*

The file who throws error, has the property field empty. Alfresco can have a REGEX coinstraint only in not empty propierty?


Thanks

Outcomes