[ 
http://jira.nuxeo.org/browse/NXP-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_25954
 ] 

Fabien Bonic commented on NXP-1538:
-----------------------------------

Yes, when I do the search as Administrator, the request return results (but not 
when I'm logged as user).
Here is the code dealing with search :

ResultSet set = searchService.searchQuery(new 
ComposedNXQueryImpl(SQLQueryParser.parse(constraints.getNXSQLQuery())), 0, 
Integer.MAX_VALUE);

(where "constraints.getNXSQLQuery())" has the value "SELECT * FROM 
ITCSDeliverable").

> Problem with search when logged as user
> ---------------------------------------
>
>                 Key: NXP-1538
>                 URL: http://jira.nuxeo.org/browse/NXP-1538
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>          Components: Query / Search
>            Reporter: Fabien Bonic
>            Assignee: Thierry Delprat
>            Priority: Blocker
>         Attachments: server-search.txt
>
>
> Hi,
> When I'm logged as an user and I try to do the search "SELECT * FROM 
> ITCSDeliverable" there is no result whereas when I do the same request from 
> the web client, there are results... (When I'm logged as Administrator, this 
> search performs)
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to