Log message #3943290

# At Username Text
# Oct 6th 2016, 12:10 ndm http://book.cakephp.org/3.0/en/development/routing.html#passing-parameters-to-action
# Oct 6th 2016, 12:10 ndm @aneh You must mark the `cat` element as to be passed, ie in the routes options `'pass' => ['cat']`
# Oct 6th 2016, 12:08 flangofas http://book.cakephp.org/3.0/en/views/helpers/paginator.html#creating-jump-links
# Oct 6th 2016, 11:59 aneh Hi, i need a your help with pagination plz check my qus on stackoverflow: http://stackoverflow.com/questions/39871520/cakephp-3-custom-route-in-pagination thanks thanks
# Oct 6th 2016, 11:20 francky06l ypnos: yes like linux tab .. easy !
# Oct 6th 2016, 11:18 ypnos idk, press y<tab>? ;)
# Oct 6th 2016, 11:17 francky06l ypnos: thanks I am back on it ..( Damn I do not remember the IRC shortcut for putting your name in from of the message) :)
# Oct 6th 2016, 11:13 bhaskartripathi Thanks @yonos
# Oct 6th 2016, 11:13 ypnos bhaskartripathi: the ORM layer basically needs to be redone in any case
# Oct 6th 2016, 11:12 ypnos bhaskartripathi: it depends on the code and design quality of your old code. mine was so bad that I gave up on migration and restarted from scratch
# Oct 6th 2016, 11:12 ypnos francky06l: as in the main model you can unset the related elements... as in my example code
# Oct 6th 2016, 11:11 ypnos francky06l: I had said you have to do this in the users/clients model.. NOT in the associated model :)
# Oct 6th 2016, 11:11 birdy247 Super sweet exception :)
# Oct 6th 2016, 11:11 bhaskartripathi which approach is best 1. migration 2. start from scratch in cakephp3
# Oct 6th 2016, 11:11 birdy247 The afterSave event in "App\Model\Table\RatesTimesheetsTable" is aborting the transaction before the save process is done.
# Oct 6th 2016, 11:10 ypnos great bhaskartripathi
# Oct 6th 2016, 11:09 bhaskartripathi hi, my website is in cakephp2 and i want to upgrade it to cakephp3
# Oct 6th 2016, 11:06 maikh dumbass
# Oct 6th 2016, 11:06 maikh ok... found my fault... :P
# Oct 6th 2016, 11:02 maikh no, dont works...
# Oct 6th 2016, 10:59 maikh ok, i did a copy of the correct working rules... now it works... hm...
# Oct 6th 2016, 10:57 maikh hm, i dont can see a typo
# Oct 6th 2016, 10:55 hmic you obviously missed something, i've already mentioned a typo as this would be the first random error
# Oct 6th 2016, 10:53 maikh thats strange for me.
# Oct 6th 2016, 10:53 maikh yes, i know. but i dont understand why it works on the one field but not on the other field.
# Oct 6th 2016, 10:52 hmic still the wrong approach to the requrirement
# Oct 6th 2016, 10:51 maikh i did it because my customer dont wants datepickers, only inputs for that.
# Oct 6th 2016, 10:51 maikh jep
# Oct 6th 2016, 10:51 hmic so cake does not even know they are date fields? :p
# Oct 6th 2016, 10:51 maikh these fields are bothe declared as varchar fields in db.
# Oct 6th 2016, 10:49 hmic maikh: whats the database for those two fields? if the code is identical - no typos :p, the database can still be a point - like a NULL vs. NOT NULL field
# Oct 6th 2016, 10:46 maikh has anyone a hint on this for me?
# Oct 6th 2016, 10:44 slackebot date which is not in future the validator returns false on futureDate. -> works like excepted now i want the same behaivour on date_from. code is the same, but behaivour is an other.
# Oct 6th 2016, 10:44 slackebot der Zukunft liegt.' ] ]) ->add('date_from', [ 'date' => [ 'rule' => ['date', ['dmy']], 'message' => 'Bitte gültiges Datum eingeben.', 'last' => true, ], 'futureDate' => [ 'rule' => [$this, 'futureDate'], 'message' => 'Bitte geben Sie ein Datum ein was in der Zukunft liegt.' ] ])``` on the appointment, this works very well. if i type a value like ```aaa``` the validator returns false on date validator
# Oct 6th 2016, 10:44 maikh hey there. i come today with a little validation problem :slightly_smiling_face: i have to fields which i want to validate. first i want it is a date and after that i want the date is in future ``` ->add('appointment', [ 'date' => [ 'rule' => ['date', ['dmy']], 'message' => 'Bitte gültiges Datum eingeben.', 'last' => true, ],'futureDate' => [ 'rule' => [$this, 'futureDate'], 'message' => 'Bitte geben Sie ein D
# Oct 6th 2016, 10:42 dereuromark You are right. Can be removed
# Oct 6th 2016, 10:41 ndm @dereuromark Do you really actually need the `id`, ie is your code dependent on it? And if it is, wich `id` would be the "correct" one if you have multiple rows in the group? I don't know what your code does, but I could imagine that relying on one of the the id(s) of a group indicates that something is wrong here.
# Oct 6th 2016, 10:39 acosonic XML actually :) works good
# Oct 6th 2016, 10:37 kennydang as i'm sending an array
# Oct 6th 2016, 10:37 hmic in cake, use debugkit "history" to show your ajax requests
# Oct 6th 2016, 10:37 kennydang so my data is undefined?