[ 
http://jira.magnolia.info/browse/MAGNOLIA-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MAGNOLIA-2080:
-------------------------------------

    Fix Version/s: 3.6
                       (was: 3.5.5)

> "JCR Queries"  should display exception messages instead of blank results, 
> and a row count for valid results
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2080
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2080
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: admininterface
>    Affects Versions: 3.5.4
>            Reporter: Ryan Gardner
>            Assignee: Philipp Bracher
>             Fix For: 3.6
>
>         Attachments: jcrQueryDisplayErrors-revised.patch, 
> jcrQueryDisplayErrors.patch, jcrQueryDisplayErrors.patch
>
>
> The exceptions were all being caught and logged in the QueryUtil - and 
> therefore were unavailable for the JCR Utils page to get them to display. 
> I made another "exceptionThrowingQuery" method in the QueryUtil that throws 
> exceptions, and called that method in the JCR Utils method. To avoid 
> duplicate code, the query method now delegates the actual query to the 
> exceptionThrowingQuery method and the traps the exception, logs it, and 
> returns the Collections.EmptyList (identical behavior to what it was before)
> In addition, the size of the collection returned is now printed when results 
> are returned. This can be helpful for knowing row counts... etc. 

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



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to