

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
15 messages in org.apache.jackrabbit.usersRE: OCM - Issue while loading list of...| From | Sent On | Attachments |
|---|---|---|
| Kaizer Shaikh | Oct 30, 2007 8:03 am | |
| Christophe Lombart | Oct 31, 2007 12:38 am | |
| Felix Meschberger | Oct 31, 2007 12:50 am | |
| Kaizer Shaikh | Nov 5, 2007 10:56 pm | |
| Kaizer | Nov 6, 2007 8:29 pm | |
| Marcel Reutegger | Nov 7, 2007 1:29 am | |
| Kaizer | Nov 7, 2007 9:00 pm | |
| Marcel Reutegger | Nov 9, 2007 2:15 am | |
| Kaizer | Nov 13, 2007 1:45 am | |
| Christophe Lombart | Nov 13, 2007 12:12 pm | |
| Kaizer | Nov 13, 2007 8:49 pm | |
| Christophe Lombart | Nov 14, 2007 7:37 am | |
| Kaizer Shaikh | Nov 15, 2007 3:41 am | |
| Christophe Lombart | Nov 15, 2007 4:43 am | |
| Kaizer Shaikh | Nov 21, 2007 3:33 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: OCM - Issue while loading list of classes at that path itself. | Actions... |
|---|---|---|
| From: | Kaizer (Kaiz...@mastek.com) | |
| Date: | Nov 6, 2007 8:29:40 pm | |
| List: | org.apache.jackrabbit.users | |
Hi,
I was trying to have a deeper look at this problem and found that its related to the way the jackrabbit QueryManager searches based on the jcrExpression. Suppose I've created two nodes "some/test" under the root node. Now, if i create a query like ("/jcr:root//some/test//element(*, "my:type")"), I dont get any results. If i create the query as ("/jcr:root//some//element(test, "my:type")"), it works fine. I had a look at the JCR spec and it says that the constraint for obtaining Descendants or self path is /jcr:root/some/nodes// element(*, my:type).
Please let me know if this is an issue with Jackrabbit or if I'm doing something incorrectly and if i should create a Jira issue for the same.
Along the same lines, should the buildJCRExpression method in org.apache.jackrabbit.ocm.query.impl.QueryMangerImpl append "//" before "element".
Thanks.
Regards Kaizer
Kaizer wrote:
Hi,
I've created a Jira issue for the same and attached the files there. The key is JCR-1198. Please let me know what could be the problem. Perhaps I am doing something incorrectly.
Thanks.
Regards Kaizer
-----Original Message----- From: Christophe Lombart [mailto:chri...@gmail.com] Sent: Wednesday, October 31, 2007 1:09 PM To: use...@jackrabbit.apache.org Subject: Re: OCM - Issue while loading list of classes at that path itself.
Hi Kaizer,
Where is the patch and the modified file ?
thanks, Christophe
On 10/30/07, Kaizer Shaikh <Kaiz...@mastek.com> wrote:
Hi,
I cannot retrieve list of objects that are directly under the path that they were saved in. I did not know where to simulate this issue and hence I have used DigesterSimpleQueryTest. I have attached the path for the newly added test case testObjectListRetrievalAtBasePath. In case the patch is not up to the mark I have attached the modified file too.
Instead of creating Page in /test if I create it in /sample/test and search in /sample/test it returns nothing but if I search in /sample it would return the object.
Another important point here is that it is causing issues while retrieving Page class, the other test cases that are retrieving Paragraph class (embedded inside Page class) are still working fine!
Regards,
Kaizer
MASTEK LTD. Making a valuable difference Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MASTEK LTD. Making a valuable difference Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This
e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity
to which it is addressed. Any review, re-transmission, dissemination or
other use of or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. This
e-mail and its attachments have been scanned for the presence of computer
viruses. It is the responsibility of the recipient to run the virus check
on e-mails and attachments before opening them. If you have received this
e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
View this message in context:
http://www.nabble.com/OCM---Issue-while-loading-list-of-classes-at-that-path-itself.-tf4719078.html#a13621251
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.







