Re: [OPEN-ILS-DEV] Testing connections to Evergreen: Success!

2009-06-25 Thread Nathanael Schilling
[snip] srfsh# login open-ils admin I think the login command in srfsh takes the syntax login username password other options if needed Therefore, try login admin open-ils Received Data: 9272134d211e6817574d9626ea66ce21 Request Completed Successfully

[OPEN-ILS-DEV] open-ils.cstore.json_query and HAVING clauses

2009-06-25 Thread Jeff Godin
Greetings- First off, a huge thank you to Scott and whoever else was involved in the production of JSON Queries: A Tutorial, found in docs/TechRef/JSONTutorial.xml I think I've found a bug in cstore when using GROUP BY with a HAVING clause. After a discussion with Mike Rylander, this might be

Re: [OPEN-ILS-DEV] open-ils.cstore.json_query and HAVING clauses

2009-06-25 Thread Scott McKellar
I found the same glitch a few weeks ago and fixed it. When I test it in my sandbox, using the test_json_query utility, I get the GROUP BY and HAVING clauses in the right order. It also works from srfsh. I don't know what version you're running, but you can probably grab the current version

Re: [OPEN-ILS-DEV] open-ils.cstore.json_query and HAVING clauses

2009-06-25 Thread Dan Scott
Just a thought - this would be a perfect case for adding a set of unit tests to ensure that we get the output expected for the corresponding input, for all the nooks and crannies of JSON and SQL, as the code continues to be refined / debugged / extended. And the test cases could make for good