You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/22 11:10:00 UTC

[jira] [Updated] (JCRVLT-402) Clarify error message for validator "jackrabbit-emptyelements"

     [ https://issues.apache.org/jira/browse/JCRVLT-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated JCRVLT-402:
-----------------------------------
    Description: 
Currently it incorrectly states:
{{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=merge. Rather use the according include/exclude patterns."}}

It should rather say
{{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=replace. Either remove the empty node or add at least the 'jcr:primaryType' attribute to make this node really get replaced."}}

  was:
Currently it incorrectly states:
{{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=merge. Rather use the according include/exclude patterns."}}

It should rather say
{{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=replace. Either remove the empty node or add at least the primary type to make this node gets overwritten fully"}}


> Clarify error message for validator "jackrabbit-emptyelements"
> --------------------------------------------------------------
>
>                 Key: JCRVLT-402
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-402
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>    Affects Versions: 3.4.2
>            Reporter: Konrad Windszus
>            Priority: Minor
>             Fix For: 3.4.4
>
>
> Currently it incorrectly states:
> {{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=merge. Rather use the according include/exclude patterns."}}
> It should rather say
> {{ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty nodes: '...' (in '../.content.xml') (used for ordering only) which are included in the filter with mode=replace. Either remove the empty node or add at least the 'jcr:primaryType' attribute to make this node really get replaced."}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)