Skip to content

Commit a0039db

Browse files
committed
Improved the documentation of JCRLanguagePropertyCheck
1 parent 277e062 commit a0039db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/embedded-tests.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ Errors are usually located under `/modules`, in a node being part of a template.
148148
Otherwise, you will need to fix the node in the JCR, updating the property value to match the node name.
149149
If the impacted nodes are automatically created, for example from some custom java code, it is important as well to identify & fix the faulty code, in order to avoid reintroducing the issue.
150150

151+
`Error code: MISSING_JCR_LANGUAGE_PROP`
152+
153+
Translation node without the `jcr:language` property. This one needs to be defined, and its value can usually be deducted from the node name.
154+
155+
`Error code: INCONSISTENT_JCR_LANGUAGE_PROP`
156+
157+
Translation node with a `jcr:language` property which is not compliant with the node name. Usually, the property has to be modified accordingly to the node name.
158+
151159
## LockSanityCheck
152160

153161
Detects the inconsistencies related to the JCR locks.

0 commit comments

Comments
 (0)