# |
Dec 2nd 2019, 18:53 |
ricksaccous |
notMatching |
# |
Dec 2nd 2019, 18:51 |
jotpe |
`$query->contain(['Users' => ['Names'], 'Terminations'])` `->where(['Terminations' => null]);` |
# |
Dec 2nd 2019, 18:51 |
jotpe |
Evening all. I have a Model (`Membership`) which can has a `Termination` Association (which could be in future). Is there a way in a `finder` method to get all memberships without termination? I tried something like: |
# |
Dec 2nd 2019, 18:09 |
ricksaccous |
i might want to write my own behavior that extends his |
# |
Dec 2nd 2019, 18:08 |
ricksaccous |
i'm using https://github.com/FriendsOfCake/cakephp-upload so far, what's the cleanest way to achieve this |
# |
Dec 2nd 2019, 18:08 |
ricksaccous |
suppose you are writing files to the server but for files with certain extensions you don't want them saved in db in the regular location |
# |
Dec 2nd 2019, 17:16 |
dereuromark |
i dont think that should be necessary :slightly_smiling_face: normal text messages here should suffice in general |
# |
Dec 2nd 2019, 17:15 |
neon1024 |
It’s handy to focus I find |
# |
Dec 2nd 2019, 17:15 |
neon1024 |
Just click the bell in the sidebar and set a time :) |
# |
Dec 2nd 2019, 17:14 |
noel |
ok sure. I didn't know. Just thought you were helping. No problemo. |
# |
Dec 2nd 2019, 17:14 |
neon1024 |
@dereuromark You can sleep your notifications if you want :slightly_smiling_face: |
# |
Dec 2nd 2019, 17:14 |
dereuromark |
truth is: i never used any of that crud stuff before. |
# |
Dec 2nd 2019, 17:13 |
neon1024 |
https://www.urbandictionary.com/define.php?term=dont%20%40%20me |
# |
Dec 2nd 2019, 17:13 |
neon1024 |
Don’t even at me bro |
# |
Dec 2nd 2019, 17:12 |
dereuromark |
after that I was basically not able to further assist |
# |
Dec 2nd 2019, 17:12 |
dereuromark |
my previous answer was only to the prefix part |
# |
Dec 2nd 2019, 17:12 |
dereuromark |
not offended, but disturbed for no reason. You shouldnt tag someone specific unless they actually are part of the conversation already. |
# |
Dec 2nd 2019, 17:10 |
noel |
oh ok. Sorry if I offended, may I ask why? |
# |
Dec 2nd 2019, 17:09 |
neon1024 |
Guess that it is pretty recent, perhaps they’ll spin up some boxes soon |
# |
Dec 2nd 2019, 17:07 |
neon1024 |
:face_palm: |
# |
Dec 2nd 2019, 17:07 |
dereuromark |
@neon1024 i tried, and travis doesnt support it yet |
# |
Dec 2nd 2019, 17:07 |
dereuromark |
@noel you shouldnt tag me here |
# |
Dec 2nd 2019, 17:07 |
neon1024 |
Can’t what? |
# |
Dec 2nd 2019, 17:06 |
dereuromark |
@neon1024 you cannot |
# |
Dec 2nd 2019, 17:04 |
slackebot |
is included in the JSON as well. |
# |
Dec 2nd 2019, 17:04 |
noel |
@ndm @dereuromark there's a relationship on the entity but it seems to be not seeing it somehow. The JSON object that is being processed by the `->getRepository` call is being written with a hyphen instead of an underscore. E.g. ```{ ... "enquiry-type": null }, "enquiry-type"``` ... but I don't understand why. There is a belongsTo relationship between `enquiry` and `enquiry_type` tables via the `enquiry_type_id` ; the value for which which |
# |
Dec 2nd 2019, 17:02 |
neon1024 |
Although it is a snapshot, could probably set 7.4.0 for that now in the travis.yml |
# |
Dec 2nd 2019, 17:01 |
slackebot |
<neon1024> |
# |
Dec 2nd 2019, 17:01 |
neon1024 |
Doesn’t run on 7.4 |
# |
Dec 2nd 2019, 17:00 |
neon1024 |
@cakebot travis is https://travis-ci.org/cakephp |
# |
Dec 2nd 2019, 17:00 |
slackebot |
!travis |
# |
Dec 2nd 2019, 16:59 |
slackebot |
Command sent from Slack by neon1024: |
# |
Dec 2nd 2019, 16:54 |
dereuromark |
looking into the travis file per build would have easily told u |
# |
Dec 2nd 2019, 16:54 |
dereuromark |
2.x, 3.x and 4.x |
# |
Dec 2nd 2019, 16:53 |
alexmax |
Does 3.8 support it? |
# |
Dec 2nd 2019, 16:53 |
alexmax |
PHP 7.4 came out a few days ago |
# |
Dec 2nd 2019, 16:44 |
lucas.iturbide |
alright.. it came back to life |
# |
Dec 2nd 2019, 16:33 |
lucas.iturbide |
Hi, is it me or the website https://cakephp.org/ is not loading with the error `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` ? |
# |
Dec 2nd 2019, 16:06 |
devito |
@ricksaccous its only 1 deep and its ahas one relationship and for some reason the validation rules arent being triggered on the profile. But if i move the validators to the user model and add nested its fine. |
# |
Dec 2nd 2019, 16:02 |
neon1024 |
https://book.cakephp.org/3/en/orm/saving-data.html#converting-request-data-into-entities |
# |
Dec 2nd 2019, 16:01 |
neon1024 |
Other ones you specify with the ‘associated’ key in the options array of `patchEntity` |