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 2021/06/28 13:39:00 UTC
[jira] [Commented] (JCRVLT-543) DocViewSAXImporter failing on
protected properties for new Nodes
[ https://issues.apache.org/jira/browse/JCRVLT-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370592#comment-17370592 ]
Konrad Windszus commented on JCRVLT-543:
----------------------------------------
Most protected properties should already be skipped by this guard: https://github.com/apache/jackrabbit-filevault/blob/2381d35b1ba4eb2785f3d632b8501983899ce980/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L1160
Can you come up with a failing IT? Which specific property have you tested with?
> DocViewSAXImporter failing on protected properties for new Nodes
> ----------------------------------------------------------------
>
> Key: JCRVLT-543
> URL: https://issues.apache.org/jira/browse/JCRVLT-543
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Affects Versions: 3.5.0
> Reporter: Dominik Süß
> Priority: Major
>
> Starting with https://github.com/apache/jackrabbit-filevault/commit/5f3b1d363da7bcf3c285a0bdbb394254ca3e57d1#diff-96c973bf61e1d3ae0fde08f6c35da64d983623ac50ce2f6af682828d4963a7dbR1166 the behavior for relaxed handling of protected properties is no longer working on newly created nodes. New nodes do not pass a VersioningState causing the Exception to be rethrown at *https://github.com/apache/jackrabbit-filevault/blob/2381d35b1ba4eb2785f3d632b8501983899ce980/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L1166*
> This specifically affects System generated properties in case of packages that got generated by building a package from a System.
> // cc [~kwin] as commiter of patch introducing the regeression
--
This message was sent by Atlassian Jira
(v8.3.4#803005)