New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back jcr:content definition to avoid the folder being created as nt:folder #1021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Getting validation errors during build:
|
@@ -49,6 +49,7 @@ | |||
|
|||
<!-- DAM folder root, will be created via repoinit --> | |||
<filter><root>/content/dam/${appId}</root></filter> | |||
<filter><root>/content/dam/${appId}/jcr:content</root></filter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This additional filter is redundant. Are you sure this is effective at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you're right, it's absolutely useless 🤦
Since you added the new MERGE_PROPERTIES
mode in https://issues.apache.org/jira/browse/JCRVLT-255 I think we can use that.
The whole idea was to avoid having a broad filter on the /content/dam/${appId}
node as it was causing issues during deployments on Cloud Service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MERGE_PROPERTIES will never be supported in AEM 6.5 as it uses an ancient FileVault version, even AEM Cloud is not yet on a new FileVault release (but that should happen soon).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, we could add the /content/dam/${appId}
filter and jcr:content
node definition only for 6.5 projects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather work with includes/excludes there.
thanks @vladbailescu ! I will test it empirically soon ;) |
The definition was removed as part of #647
Fixes #997