[ 
https://issues.apache.org/jira/browse/MARMOTTA-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274872#comment-16274872
 ] 

ASF subversion and git services commented on MARMOTTA-670:
----------------------------------------------------------

Commit fadd9424b907e5a187c6f6a16aa7add8dbb2c6db in marmotta's branch 
refs/heads/develop from [~wikier]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=fadd942 ]

Merge branch 'develop' into MARMOTTA-670_reversepropertyselector


> LDPath - ReversePropertySelector with wrong code
> ------------------------------------------------
>
>                 Key: MARMOTTA-670
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-670
>             Project: Marmotta
>          Issue Type: Wish
>          Components: LDPath
>    Affects Versions: 3.4.0
>            Reporter: Dietmar Glachs
>            Assignee: Dietmar Glachs
>            Priority: Trivial
>              Labels: easyfix
>             Fix For: 3.4.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The ReversePropertySelector is not retrieving the requested subjects properly 
> when, and only when the parameters "path" and "resultPahts" are provided. 
> Code snippet as currently implemented in ReversePropertySelector:
> {code:title=ReversePropertySelector.java - select|borderStyle=solid}
> ...
> if(path != null && resultPaths != null) {
>   Collection<Node> results = rdfBackend.listSubjects(context, property);
>   ...
>   return results;
> } else {
>     return rdfBackend.listSubjects(property, context);
> }
> ...
> {code}
> The *wrong* {{if}} part of the method is only used in marmotta-search 
> (previously lmf-search) when parsing LDPath search programs, the {{else}} 
> functionality is frequently used when parsing LDPath queries. 
> however, the calls to listSubjects should be equal in {{if}} and {{else}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to