Log message #3883946

# At Username Text
# May 31st 2016, 00:56 flashios09 i have a datepicker too
# May 31st 2016, 00:56 flashios09 use a method that convert the date to a string
# May 31st 2016, 00:56 royalty on the edit action
# May 31st 2016, 00:55 royalty because I am using a datetime picker field instead of the default selects and i want it to populate the field
# May 31st 2016, 00:55 royalty it keeps returning an object however
# May 31st 2016, 00:55 flashios09 why ?
# May 31st 2016, 00:54 royalty i am trying to change this via the getter method in the entity
# May 31st 2016, 00:54 royalty instead of a date object
# May 31st 2016, 00:54 royalty suppose i want cakephp to return a string
# May 30th 2016, 23:12 LckyBy517 doh
# May 30th 2016, 23:12 LckyBy517 haha nvm read the note XD
# May 30th 2016, 23:02 LckyBy517 so i'm looking at my data set returned from the awesome stupid query earlier today and notice that all the datasets include the UUID field, is there an easy way to NOT get the UUID column?
# May 30th 2016, 23:00 hmic im pretty certain as the action is Crud.Index not Crud.index for sure...
# May 30th 2016, 22:57 Axel___ I will see if this is in fact the issue. But it looks like it is
# May 30th 2016, 22:57 hmic this is very easy and fast to setup and will help you a lot in this regard
# May 30th 2016, 22:56 hmic !tell Axel___ about cakebox
# May 30th 2016, 22:56 hmic my tip: from now on, develop an a system thats as close as possible to the production environment and/or know the implications well!
# May 30th 2016, 22:55 hmic change to Crud.Index and the problem will be solved - but keep in mind: if you have not *very* strickly sticked to the right casing, you are in trouble and need to fix *lots* of errors like that
# May 30th 2016, 22:55 Axel___ oh
# May 30th 2016, 22:54 hmic the windows (and default mac) filesystems are not case sensitive, linux is!
# May 30th 2016, 22:54 hmic the dev server is linux?
# May 30th 2016, 22:54 hmic Axel___, a wild guess: your local machine is windows
# May 30th 2016, 22:40 Axel___ Hi, I have a small question. I have a project locally that works fine with the Crud plugin for cakephp but now on my dev server it throws me an error Could not find action class: Crud.index when trying to map my actions. Have anyone faced this issue before?
# May 30th 2016, 21:32 unholyknight Yeah, toList was being used after the data was returned. Once I went back through my trace it looked like to likely culprit.
# May 30th 2016, 21:29 admad so you left out the part which actually mattered in the code you showed above :slightly_smiling_face:
# May 30th 2016, 21:28 unholyknight @admad looks like toList was the source of it, incorrectly assumed itâ??d properly handle it as key => value pairs
# May 30th 2016, 21:23 unholyknight @admad tried using keyfield as well, but it isnâ??t working either. are inaccessible fields not allowed to be key fields for lists? thatâ??s the only reason i can come up with as to why itâ??s being ignored.
# May 30th 2016, 21:22 admad unholyknight: http://api.cakephp.org/3.2/class-Cake.ORM.Table.html#_findList
# May 30th 2016, 21:19 unholyknight if i run a find all instead itâ??s selecting the id and name columns correctly
# May 30th 2016, 21:17 unholyknight any reason why attempting this is not assigning my keys as ids and instead is defaulting to keys iterated starting with 0? $tools->find('list')->select(['id', â??name'])
# May 30th 2016, 21:16 zas_ thanks anyway
# May 30th 2016, 21:11 zas_ admad it worked ;) but why is that happening?
# May 30th 2016, 21:10 admad zas_: delete tmp/debug_kit.sqlite
# May 30th 2016, 21:08 zas_ anyone?
# May 30th 2016, 21:03 zas_ anyone knows SQLSTATE[HY000]: General error: 8 attempt to write a readonly database ?
# May 30th 2016, 20:49 kitcat71_ is _serialize working in 3.2?
# May 30th 2016, 20:24 kitcat71_ bonsoir, having a trouble with a json request->response: cake is sending a missingViewException
# May 30th 2016, 19:57 lorenzo have you tried $this->loadModel() ?
# May 30th 2016, 19:55 bakerman Registry*
# May 30th 2016, 19:55 bakerman I'm getting sick of writing "TableRegister::get(<whatever>)" a bunch. I can assign it once per controller at the top, but I was thinking of maybe creating a list of all the tables in an array and somehow using a foreach to assign it in the ApplicationController... Problem is I prefer using an object vs an array and not sure how to do that
# May 30th 2016, 19:07 rubyan I'm unit testing and a bit suprised that when saving my model, my own defined events are not fired. Is that on purpose?