You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2008/03/19 14:44:25 UTC

[jira] Created: (JCR-1488) Node deleted while query is executed should not affect result size

Node deleted while query is executed should not affect result size
------------------------------------------------------------------

                 Key: JCR-1488
                 URL: https://issues.apache.org/jira/browse/JCR-1488
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-core, query
            Reporter: Marcel Reutegger
            Priority: Minor


Currently the QueryResultImpl counts result nodes as invalid when the access check throws a ItemNotFoundException (line 311). This leads to inconsistent total size. IMO it is sufficient to count them as invalid when the client iterates over the nodes (line 555).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1488) Node deleted while query is executed should not affect result size

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-1488.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Changed as proposed.

svn revision: 639218

> Node deleted while query is executed should not affect result size
> ------------------------------------------------------------------
>
>                 Key: JCR-1488
>                 URL: https://issues.apache.org/jira/browse/JCR-1488
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core, query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.5
>
>
> Currently the QueryResultImpl counts result nodes as invalid when the access check throws a ItemNotFoundException (line 311). This leads to inconsistent total size. IMO it is sufficient to count them as invalid when the client iterates over the nodes (line 555).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.