You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2016/08/10 08:21:22 UTC
[jira] [Comment Edited] (JCRVLT-120) Allow to filter content
properties based on property name and value
[ https://issues.apache.org/jira/browse/JCRVLT-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414803#comment-15414803 ]
Tobias Bocanegra edited comment on JCRVLT-120 at 8/10/16 8:21 AM:
------------------------------------------------------------------
I think you have a bug in the default workspace filter, the
{noformat}
boolean matchProperties = Boolean.getBoolean(element.getAttribute("matchProperties"));
{noformat}
is not the correct way to convert a boolean. it deals with system properties. you probably need: {{Boolean.valueOf(String)}}.
I will adjust it accordingly.
was (Author: tripod):
I think you have a bug in the default workspace filter, the
{noformat}
boolean matchProperties = Boolean.getBoolean(element.getAttribute("matchProperties"));
{noformat}
is not the correct way to convert a boolean. it deals with system properties. you probably need: {{Boolean.valueOf(String)}}.
> Allow to filter content properties based on property name and value
> --------------------------------------------------------------------
>
> Key: JCRVLT-120
> URL: https://issues.apache.org/jira/browse/JCRVLT-120
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: vlt
> Affects Versions: 3.1.26
> Reporter: Timothee Maret
> Attachments: JCRVLT-120.patch, JCRVLT-120.patch
>
>
> In our use case, we need to filter content distributed by filevault for properties {{cq:lastReplicated}}, {{cq:lastReplicatedBy}} and {{cq:lastReplicationAction}}.
> This feature could cover more than those three property and instead be generalised to filter any property which name and value match the configured filter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)