Log message #4116744

# At Username Text
# Feb 13th 2018, 10:38 neon1024 and also form post data for patching back to the entity
# Feb 13th 2018, 10:38 neon1024 The field names, just match up data to the forms passed entity
# Feb 13th 2018, 10:37 neon1024 The name doesn’t matter
# Feb 13th 2018, 10:37 neon1024 It’s modeless
# Feb 13th 2018, 10:37 neon1024 There is no schema
# Feb 13th 2018, 10:37 michaelze Should the name of the control also be tags._ids? What would the schema look like?
# Feb 13th 2018, 10:36 neon1024 What you name the field doesn’t really matter
# Feb 13th 2018, 10:34 hmic select with the options multiple true, maybe? or checkbox+multiple
# Feb 13th 2018, 10:33 hmic michaelze: sure, provide the options in the array
# Feb 13th 2018, 10:33 neon1024 Yes
# Feb 13th 2018, 10:33 michaelze In a model form I can use the form helper like this: $this->Form->control('tags._ids'). How do I have to configure the schema of the modelless form? What's the name of the control?
# Feb 13th 2018, 10:33 michaelze Hi! Is it possible, in a modelless form, to have a field which basically behaves like a list of checkboxes as if it was a belongsToMany association on a normal model form?
# Feb 13th 2018, 10:33 ricksaccous haha
# Feb 13th 2018, 10:33 neon1024 Just going to be an obscure error in my code I bet ;)
# Feb 13th 2018, 10:32 ricksaccous ah ok
# Feb 13th 2018, 10:32 neon1024 It’s a good guess, but no. As I’m only associating an entity. So I’m not writing to it
# Feb 13th 2018, 10:32 ricksaccous @neon1024 if i took a wild guess at this, accessibility in Entity
# Feb 13th 2018, 10:30 neon1024 I am not submitting the id, or at least. It’s not making it into the patched entity, perhaps that’s why
# Feb 13th 2018, 10:23 neon1024 If I post the primary key of an association, it shouldn’t be create a new entity should it? My code is doing that and I can’t think why
# Feb 13th 2018, 10:22 neothermic aha, there we go, did the saveAssociated against the wrong part of the data :)
# Feb 13th 2018, 10:09 neothermic acosonic, are you able to install PHP extensions?
# Feb 13th 2018, 10:08 neothermic acosonic: don't use Security::rijndael
# Feb 13th 2018, 10:07 javier_rodri1989 I have this error at create model by console
# Feb 13th 2018, 10:07 neothermic so I've got a HABTM association saving in cake2 using saveAssociated, but when I put the associated model in the find, I get back an empty array. I'm 99.8% sure I've set the HABTM up right, any thoughts on how to debug the assocation?
# Feb 13th 2018, 10:07 javier_rodri1989 File uploaded https://cakesf.slack.com/files/U8W9G2EK0/F9879F4LS/image.png / https://slack-files.com/T053DPNCM-F9879F4LS-26f421a416
# Feb 13th 2018, 10:05 neothermic Hmm...
# Feb 13th 2018, 09:54 hmic which 16.04 is
# Feb 13th 2018, 09:45 neon1024 I’ve not had any problems with the 16 releases on my laptop, but I stick to the LTS ones
# Feb 13th 2018, 09:37 acosonic Didin't see if anyone responded...
# Feb 13th 2018, 09:37 acosonic Ubuntu 16.x is worse crap they released EVER, I was happy with 14
# Feb 13th 2018, 09:37 acosonic hm, sorry my IRC client crashed whole crappy ubuntu 16.x
# Feb 13th 2018, 09:20 acosonic I was thinking of encrypting user's data in database somehow with user's pincode or password... Not sure how to do it...
# Feb 13th 2018, 09:20 acosonic Hi all, how about this https://stackoverflow.com/questions/18086212/cakephp-how-can-i-store-a-encrypted-data-into-db-and-then-decrypt-it-through-k
# Feb 13th 2018, 09:19 neon1024 Morning all
# Feb 13th 2018, 09:12 slackebot frontend. (without a developer) the exchange of templates and placeholders works. (STMP and X-headers don't work here)
# Feb 13th 2018, 09:12 ksc hi everyone, is here anyone who had to use an API of an email provider instead of STMP? is there a possible way to extend the Email Class? I need more parameters in the email class... What's done so far: I created a custom transport. It works, but now i need to extend the params.( i need to add some ids and placeholders...etc.) Use case: In general the support staff should be able to create email templates in the email provider configuration
# Feb 13th 2018, 08:23 javier_rodri1989 thank you
# Feb 13th 2018, 08:16 hmic the Collection is a good way to work on data(structures): https://book.cakephp.org/3.0/en/core-libraries/collections.html
# Feb 13th 2018, 08:15 hmic if its not in the database, you need different means of working with the data anyways...
# Feb 13th 2018, 08:14 hmic you could - and imho should - still try to use the great features the orm has to offer, even though you cannot use it up to its best, because of your existing database structure
# Feb 13th 2018, 08:14 javier_rodri1989 the problem is that it's a php file and I can't use the orm