Log message #4019045

# At Username Text
# Apr 21st 2017, 13:00 dereuromark juniorionut
# Apr 21st 2017, 12:59 technofection was that for me @dereuromark
# Apr 21st 2017, 12:47 juniorionut Deleting all code from Orders table does not help...
# Apr 21st 2017, 12:39 dereuromark that usually is the number one beginners mistake regarding overwriting of callbacks
# Apr 21st 2017, 12:39 dereuromark did you forget to call parent:: ?
# Apr 21st 2017, 12:39 juniorionut I have figured something else is the meantime - i get the plugin loaded in some modles, while in others i do not - https://pastebin.com/Vgwh8wMi
# Apr 21st 2017, 12:30 technofection I have copied the Entity Before Save and After Save... Can you please have a look?
# Apr 21st 2017, 12:30 technofection https://gist.github.com/technofection/9c4917f3668b72d3aa2823e12b99d7cb
# Apr 21st 2017, 12:30 technofection Hi @dereuromark Seems still I can't fix it..
# Apr 21st 2017, 12:17 juniorionut i have looked in my code and i do not have model loads inside intialise method
# Apr 21st 2017, 12:10 juniorionut Any ideas why this is happening? https://github.com/UseMuffin/Footprint/issues/46 ? Thanks!
# Apr 21st 2017, 12:07 slackebot Action: admad hi5s hmic
# Apr 21st 2017, 12:06 xety Thanks @hmic and @admad It work perfectly.
# Apr 21st 2017, 12:05 dereuromark that might be. always stay on top of the latest minor
# Apr 21st 2017, 12:04 vemavir note that this project uses quite old version of cakePhp, 2.7 if I recall correctly. So it may a former bug if it is one. :slightly_smiling_face:
# Apr 21st 2017, 12:02 dereuromark you could try the verbose array declaration for now
# Apr 21st 2017, 12:01 dereuromark vemavir: interesting, that sounds like it is a bug, it shouldnt auto convert those strings probably.
# Apr 21st 2017, 12:01 technofection I am here again.. Seems, cannot get it done.. I am posting the entity print_r() on gist.. Please have a look, may be you can catch the error.. My brain got hanged :(
# Apr 21st 2017, 12:00 technofection Hi @hmic
# Apr 21st 2017, 11:59 vemavir https://gist.github.com/Nukasev/9e154e09ce92627b89ceb8a2673975bd
# Apr 21st 2017, 11:45 vemavir Hello! I´m having trouble with formhelper and select-input options. I pass an associative array to the options-key, yet formhelper outputs the select options with numerical values, as if the array had numeric keys.
# Apr 21st 2017, 11:43 dereuromark charolastra: https://book.cakephp.org/3.0/en/controllers/components/authentication.html#identifying-users-and-logging-them-in
# Apr 21st 2017, 11:40 admad It doesn't do any actual authentication
# Apr 21st 2017, 11:40 charolastra hmm, but it seems that it authenticates with just the ID
# Apr 21st 2017, 11:39 admad charolastra: no, setUser () just sets whatever you pass it to session, that's it
# Apr 21st 2017, 11:31 charolastra shouldn't Auth->user() always return the full user dataset? cause i did a Auth->setUser() with just an ID and now user() also just returns the ID
# Apr 21st 2017, 11:31 julez e.g. i want to find all BlogPosts, which have a special value in associated Comments Model
# Apr 21st 2017, 11:30 julez is there a possibility to use conditions in associated models in cake2.x
# Apr 21st 2017, 11:29 julez hello
# Apr 21st 2017, 11:24 hmic admad: same with me :O
# Apr 21st 2017, 11:24 admad Then read manual for how to paginate 2 models together
# Apr 21st 2017, 11:23 xety Ahhh yeah i see, thanks !
# Apr 21st 2017, 11:23 admad You alias it in table registery
# Apr 21st 2017, 11:22 xety Hmm ok, but how to create an alias for the paginator ? Is there an option ?
# Apr 21st 2017, 11:22 admad My answer is just theoretical, never even paginated 2 different models on same page
# Apr 21st 2017, 11:21 hmic which makes me way more confident on my answer...
# Apr 21st 2017, 11:20 admad We basically said the same thing :)
# Apr 21st 2017, 11:20 hmic thanks for the backup admad :D
# Apr 21st 2017, 11:19 hmic so maybe you start with that first
# Apr 21st 2017, 11:19 admad I think the paginator component and now support paginating multiple models, so maybe you can paginate the same one twice by aliasing it
# Apr 21st 2017, 11:19 hmic my best bet: give the both paginators different table aliases to work with, so the params are seperatable from the url. it will still not work just out of the box, as with any other 2 paginators on the same page