Log message #4152719

# At Username Text
# Jun 20th 2018, 21:14 mdunham and the customer belongs to a user and to an address
# Jun 20th 2018, 21:14 mdunham it created all the records i am creating a customer record and a user and address record all at the same time
# Jun 20th 2018, 21:14 mdunham it didnt set the associated id's
# Jun 20th 2018, 21:14 mdunham when i saved associated data
# Jun 20th 2018, 21:13 mdunham hey
# Jun 20th 2018, 21:12 pekka_slack Thanks for your help, that was the issue indeed.
# Jun 20th 2018, 21:09 dereuromark thats the issue, yeah. always make sure its really tinyint(1) ;) otherwise it always int cast.
# Jun 20th 2018, 21:06 pekka_slack Looks like assigning it as tinyint defaults to 4. I'll try to alter it to 1 and unsigned and see if that'll make a difference. The only validation for this field is allowEmpty().
# Jun 20th 2018, 21:04 dereuromark maybe your validation rule does sth?
# Jun 20th 2018, 21:04 dereuromark thats bool, so true should work
# Jun 20th 2018, 21:01 mdunham unsigned
# Jun 20th 2018, 21:01 mdunham tinyint size = 1?
# Jun 20th 2018, 21:00 pekka_slack @dereuromark I'm using tinyint in MySQL. Should it be something else?
# Jun 20th 2018, 20:59 dereuromark henrik: depends on the schema of this field, and the type class used etc.
# Jun 20th 2018, 20:58 kitcat711_ (goota go, will read any comment later)
# Jun 20th 2018, 20:58 kitcat711_ works fine but just have a problem with the seed
# Jun 20th 2018, 20:57 mdunham looks cool
# Jun 20th 2018, 20:57 kitcat711_ yes mdunham : https://github.com/davidyell/CakePHP3-Proffer/blob/master/README.md
# Jun 20th 2018, 20:57 pekka_slack I'm trying to wrap my head around the difference between 'true' and '1' when sending an array of data to patchEntity(). Only the numeric version is working for me and I'm wondering if this is by design, or some issue on my end? ``` $data['error'] = true; // this doesn't work $table->patchEntity($entity, $data); $data['error'] = 1; // this works $table->patchEntity($entity, $data); // as does this $entity->error = true; ```
# Jun 20th 2018, 20:38 mdunham proffer?
# Jun 20th 2018, 20:05 kitcat711_ hello , does anyone use the Proffer plugin with cake 3.5?
# Jun 20th 2018, 17:32 _Schlaefer Hi. I have a question about best practice implementing a UI-DB-updater with Migrations. If someone has thoughts they are greatly appreciated. Thanks. https://discourse.cakephp.org/t/provide-db-ui-updater-through-migrations-where-and-when-to-check-versions/4432
# Jun 20th 2018, 16:38 hmic :p
# Jun 20th 2018, 15:57 admad Who be you?
# Jun 20th 2018, 15:46 hmic hey guys, i'm back from china for a few days...
# Jun 20th 2018, 15:08 josbeir @lorenzo https://github.com/cakephp/elastic-search/pull/176 fixed
# Jun 20th 2018, 14:53 magiq and when i trying to use $this->Form it throw exception somewhere else, because some kind of trait raise that form helper already initialized
# Jun 20th 2018, 14:52 magiq but $this->helpers['Form'] not the helper itself, only params
# Jun 20th 2018, 14:52 magiq then I wrote this https://pastebin.com/V7FT44jd to add custom widget
# Jun 20th 2018, 14:49 magiq So I need to add typeMap and widget and it should works
# Jun 20th 2018, 14:48 magiq and then pass this value to https://api.cakephp.org/3.6/source-class-Cake.View.Widget.WidgetLocator.html#144
# Jun 20th 2018, 14:45 magiq it use https://api.cakephp.org/3.6/source-class-Cake.View.Helper.FormHelper.html#1372
# Jun 20th 2018, 14:44 magiq I'm using crud view plugin that generate form according database
# Jun 20th 2018, 14:44 magiq how to add custom widget for custom database table
# Jun 20th 2018, 13:06 neon1024 Afternoon everyone :wave:
# Jun 20th 2018, 12:57 flavius good good, thx
# Jun 20th 2018, 12:57 dereuromark of course not, you just cant make PRs and stuff anymore :slightly_smiling_face:
# Jun 20th 2018, 12:56 flavius yo, what happens to a composer package if the github source is "archived" and marked as read-only? I'm suspecting nothing, right? :P
# Jun 20th 2018, 12:13 josbeir looks like the change would not require that much work
# Jun 20th 2018, 12:06 josbeir i'll see how complex it is to implement :slightly_smiling_face:
# Jun 20th 2018, 12:06 josbeir and i stumble on some of these things