History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ECM-2298
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dang Van Minh
Reporter: Ly Thi Thu Hanh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
exo-ecm

sql clause "order by" fails when written in upper case

Created: 01/Jul/08 08:52 AM   Updated: 31/Jul/08 03:04 AM
Component/s: portlet.jcrexplorer
Affects Version/s: 2.0.1
Fix Version/s: 2.1, 2.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. sql-query-bug-orderby.gif
(13 kb)

Resolution Date: 24/Jul/08


 Description  « Hide
Queries that work :
SELECT * FROM nt:base order by exo:dateCreated DESC
select * from nt:base order by exo:dateCreated desc

Query that fails :
select * from nt:base ORDER BY exo:dateCreated desc

No exception is thrown but error message : Invalid query statement.

Steps to reproduce :
- Open File Explorer then Advanced Search
- Type the query that fails in New Query tab
- Execute, the error message is displayed.

I (Philippe) discussed with the JCR team that created a JUnit test and runned it successfully, meaning that the bug comes from ECM.

 All   Comments   Work Log   Change History      Sort Order:
Ly Thi Thu Hanh - [31/Jul/08 03:04 AM ]
tested