Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8db0fa9

Browse files
committed
locale must be allowed to be blank for the non-translated use case. if translation is active and this is empty, phpcr-odm will default to session locale if not set, which is good default behaviour
1 parent e0c9572 commit 8db0fa9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Resources/config/validation.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
</property>
2222

2323
<property name="locale">
24-
<constraint name="NotBlank"/>
2524
<constraint name="Locale"/>
2625
</property>
2726
</class>

0 commit comments

Comments
 (0)