Skip to content

Commit

Permalink
NXP-32089: Strict mode property must take precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
guirenard committed Oct 3, 2023
1 parent 41ac86a commit 1547920
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?xml version="1.0"?>
<component name="org.nuxeo.retention.compliance.types">
<#if "${nuxeo.retention.compliance.enabled}" == "true">
<#assign
isStrictDefined = (nuxeo.retention.strictmode.enabled)??
isStrictTrue=isStrictDefined && "${nuxeo.retention.strictmode.enabled}" == "true"
isCompliantTrue="${nuxeo.retention.compliance.enabled}" == "true"
>
<#if isStrictTrue || (!isStrictDefined && isCompliantTrue)>
<require>org.nuxeo.retention.types</require>

<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
Expand Down

0 comments on commit 1547920

Please sign in to comment.