Log message #3943277

# At Username Text
# 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?
# Oct 6th 2016, 10:37 kennydang it said undefined
# Oct 6th 2016, 10:37 Neon1024 If youâ??re in Chrome :)
# Oct 6th 2016, 10:37 Neon1024 ^ and check the XHR button
# Oct 6th 2016, 10:37 hmic kennydang: press F12 key in your brower and go to the network tab
# Oct 6th 2016, 10:36 kennydang as when sending out AJAX post request, how can we view the sending data?
# Oct 6th 2016, 10:35 kennydang currently, idk how to track my post request
# Oct 6th 2016, 10:35 kennydang i'm student and cake fresh man
# Oct 6th 2016, 10:34 mamchenkov any ideas?
# Oct 6th 2016, 10:34 mamchenkov the method works, it's just the unit test issue
# Oct 6th 2016, 10:34 mamchenkov I have an issue with my unit tests .. I have a method that uses $this->Html->link() and during a plugin test run it throws the following: include(vendor/cakephp/cakephp/tests/test_app/config/routes.php): failed to open stream: No such file or directory
# Oct 6th 2016, 10:34 inoas heya