# |
Mar 17th 2018, 18:41 |
joopm |
so as i see you have a thirds table |
# |
Mar 17th 2018, 18:41 |
Rif2007 |
ok, a ray of hope.... |
# |
Mar 17th 2018, 18:41 |
Rif2007 |
oh, so they help |
# |
Mar 17th 2018, 18:41 |
joopm |
tell me your question first |
# |
Mar 17th 2018, 18:40 |
joopm |
nou i am not really new here |
# |
Mar 17th 2018, 18:40 |
Rif2007 |
Lets see what problem you got.... |
# |
Mar 17th 2018, 18:40 |
Rif2007 |
I am new here |
# |
Mar 17th 2018, 18:40 |
Rif2007 |
no one here seems to help anyone |
# |
Mar 17th 2018, 18:40 |
joopm |
i face with a little issue |
# |
Mar 17th 2018, 18:40 |
joopm |
would you help me please |
# |
Mar 17th 2018, 18:40 |
joopm |
hello |
# |
Mar 17th 2018, 18:38 |
Rif2007 |
anyone ? |
# |
Mar 17th 2018, 18:38 |
Rif2007 |
Record not found in table "thirds" with primary key ['1'] |
# |
Mar 17th 2018, 18:36 |
Rif2007 |
anyone with "Record not found in table "thirds" with primary key ['1']" |
# |
Mar 17th 2018, 18:33 |
Rif2007 |
Need some help |
# |
Mar 17th 2018, 18:33 |
Rif2007 |
hi guys, this is my first cake bake irc |
# |
Mar 17th 2018, 18:01 |
banna |
Error: Class 'IntlDateFormatter' not found |
# |
Mar 17th 2018, 18:00 |
banna |
Where can I find intl.so for php 7.2 |
# |
Mar 17th 2018, 17:15 |
bakro.istvan |
Thank you. |
# |
Mar 17th 2018, 17:02 |
dereuromark |
You could also do TableRegistry::get('MyJoinedTable')->..() directly |
# |
Mar 17th 2018, 17:01 |
bakro.istvan |
@dereuromark I found the best possible candidate for this job: https://api.cakephp.org/3.5/source-class-Cake.ORM.Association.BelongsToMany.html#932 |
# |
Mar 17th 2018, 16:13 |
jeremyharris |
but yeah should be fairly straightforward :) |
# |
Mar 17th 2018, 16:13 |
jeremyharris |
`$date = new FrozenTime($value);` // you’ll need to check/catch failures here, as “not a date” is not a date |
# |
Mar 17th 2018, 16:12 |
jeremyharris |
yeah |
# |
Mar 17th 2018, 16:12 |
kitcat711 |
yes, I was thinking about a closure that change it to Time |
# |
Mar 17th 2018, 16:11 |
jeremyharris |
so you’d have to make a custom rule that first tried to create a date object, then perform the checks |
# |
Mar 17th 2018, 16:11 |
jeremyharris |
problem with dates at this point is that they’re not date objects yet, still just request data |
# |
Mar 17th 2018, 16:11 |
kitcat711 |
(I am developping an accounting app) |
# |
Mar 17th 2018, 16:10 |
kitcat711 |
I want to check tha the date is after anotherDate or beforeAThirdDate |
# |
Mar 17th 2018, 16:10 |
jeremyharris |
ah gotcha |
# |
Mar 17th 2018, 16:10 |
kitcat711 |
I was talkin about a field with a Date |
# |
Mar 17th 2018, 16:09 |
jeremyharris |
even ‘last’ isn’t really name well (I think it’s carryover from 2.x). should be something like `stopOnFail` |
# |
Mar 17th 2018, 16:08 |
jeremyharris |
is validating based on the order the rules are added not sufficient? I feel like adding extra “order” options would make validation confusing |
# |
Mar 17th 2018, 16:06 |
kitcat711 |
like "not before" "must be after" |
# |
Mar 17th 2018, 16:06 |
kitcat711 |
you can by driving for validation based on date |
# |
Mar 17th 2018, 16:05 |
jeremyharris |
any time! |
# |
Mar 17th 2018, 16:05 |
kitcat711 |
thanks for helping :) |
# |
Mar 17th 2018, 16:04 |
jeremyharris |
:+1: |
# |
Mar 17th 2018, 16:04 |
kitcat711 |
due to my logical process afterward |
# |
Mar 17th 2018, 16:03 |
kitcat711 |
jeremy : dont take any further time on it: i found another good reason to avoid it |
# |
Mar 17th 2018, 16:01 |
kitcat711 |
thx |