Log message #3944051

# At Username Text
# Oct 8th 2016, 13:17 bravo-kernel aha, f** me, how obvious
# Oct 8th 2016, 13:17 admad you will have to use a custom error controller
# Oct 8th 2016, 13:17 bravo-kernel useful for making your API respond exactly how you want to but... not for the errors atm hence my question
# Oct 8th 2016, 13:16 bravo-kernel it might but I have implemented support for all built-in constants
# Oct 8th 2016, 13:15 admad iirc exceptionrender automatically pretty prints json responses if debug is on
# Oct 8th 2016, 13:14 bravo-kernel I would like to use `jsonOptions` configured for the listener to be available/used in the ExceptionRenderer. For pretty print ,etc
# Oct 8th 2016, 13:12 admad what exactly are you trying to achieve?
# Oct 8th 2016, 13:12 admad you can't since a new ErroController instance is used by exceptionrender
# Oct 8th 2016, 13:04 bravo-kernel Any way I make a controller variable available in ExceptionRenderer? It seems all information is lost when the ErrorController is created
# Oct 8th 2016, 11:31 slackebot ~tell jsparks about api
# Oct 8th 2016, 11:31 slackebot Command sent from Slack by admad:
# Oct 8th 2016, 11:28 jsparks can I filter by field with get method?
# Oct 8th 2016, 11:13 jsparks what valid options can i pass in get method?
# Oct 8th 2016, 11:10 jsparks hi can i pass where option in get method?
# Oct 8th 2016, 09:55 bravo-kernel s
# Oct 8th 2016, 09:55 bravo-kernel thank
# Oct 8th 2016, 09:55 bravo-kernel ok
# Oct 8th 2016, 09:55 lorenzo same as with the core, it will log if you have the log setting enabled
# Oct 8th 2016, 09:55 lorenzo it is intentional
# Oct 8th 2016, 09:55 bravo-kernel Is that intentional, I only see a method to get the queryLogs for debug modewhe
# Oct 8th 2016, 09:53 bravo-kernel @lorenzo question about Crud's QueryLogListener if I may. I noticed this function is always executed if the listener is enabled, regardless of debug-mode. https://github.com/FriendsOfCake/crud/blob/master/src/Listener/ApiQueryLogListener.php#L48
# Oct 8th 2016, 08:58 D-rex johannsan: create folder src/Event ... namespace App\Event;
# Oct 8th 2016, 08:51 johannsan hi! In which namespace should my listeners be?
# Oct 8th 2016, 08:27 birdy247 bit messy code, but just doing a quick test
# Oct 8th 2016, 08:26 birdy247 Would this work?
# Oct 8th 2016, 08:22 lorenzo but if you returned false from a callback, then no
# Oct 8th 2016, 08:22 lorenzo if it is a rule error, then the error should appear in the entity
# Oct 8th 2016, 08:21 lorenzo not currently
# Oct 8th 2016, 08:18 birdy247 Is there a way to get the reason why when saving multiple entities the transaction failed?
# Oct 8th 2016, 08:14 birdy247 @lorenzo quick question about transactions and logging
# Oct 8th 2016, 08:13 birdy247 Morning
# Oct 8th 2016, 05:11 justinatack @graziel nice tip thanks. I guess I still need help with the CASE
# Oct 8th 2016, 04:42 graziel try it with OrderDesc http://api.cakephp.org/3.3/class-Cake.Database.Query.html#_orderDesc it can get expression as param
# Oct 8th 2016, 04:35 justinatack @graziel any other ideas?
# Oct 8th 2016, 04:30 justinatack Yes I did but they show them used with where statements
# Oct 8th 2016, 04:22 graziel did you check http://book.cakephp.org/3.0/en/orm/query-builder.html#case-statements ?
# Oct 8th 2016, 04:07 justinatack Iâ??m having an issue with sorting a list (DESC) that contains NULLâ??s and dates. The NULLâ??s should be first in the list and then the dates. I have come across a StackOverFlow: http://stackoverflow.com/questions/821798/order-by-date-showing-nulls-first-then-most-recent-dates question that seems to be the solution but Iâ??m not sure how to implement it in CakePHP 3.3
# Oct 8th 2016, 02:53 erwann but the last one, read() is still giving me the error eventhough i fed it the params it's asking for
# Oct 8th 2016, 02:52 erwann i fixed the first two by feeding those params into the functions listSources() and describe()
# Oct 8th 2016, 02:52 erwann thanks that's what i think
# Oct 8th 2016, 02:49 turtle_ erwann, I've never used the plugin you're using, but those errors look like it could be the wrong version for your cake version