Log message #4152743

# At Username Text
# Jun 21st 2018, 05:55 sdsas slackebot4: true. friendliness cannot be judged by numbers. It's hard not to get worried when cakephp loses popularity. it may simply die off one day and the time/effort invested learning on this platform becomes useless
# Jun 21st 2018, 05:47 megan sdsas ^ :slightly_smiling_face:
# Jun 21st 2018, 05:47 megan @sdas a lot of ppl have moved over to the slack channel :slightly_smiling_face: but also size doesnt speak to community friendliness or whether the framework is right for you (and your project) or not - as we always say, find a tool that works well for you and your project
# Jun 21st 2018, 05:43 saeideng wordpress has bigger community even when comparing with Laravel community , wordpress is other choice
# Jun 21st 2018, 05:32 sdsas slackebot4: THe problem is that the CakePHP community is getting smaller while the Laravel community is getting bigger. You can see that from the chatroom sizes on freenode
# Jun 21st 2018, 04:51 megan Also, the CakePHP community is friendlier :slightly_smiling_face:
# Jun 21st 2018, 04:49 megan @sdas, for starters the CakePHP ORM is objectively better than the laravel one. CakePHP is also easier to learn I think.
# Jun 21st 2018, 01:44 loginews @sdas. I don't know laravel.
# Jun 21st 2018, 01:16 sdsas what are some advantages that cakephp have over laravel? I see everyone migrating to laravel, even among cake supporters
# Jun 20th 2018, 23:33 turkles Hi, should my join through table index keep jumping wildly? I have only 400 entries and yet each save I do it seems to increase the id values by ~200k
# Jun 20th 2018, 22:12 saeideng >hey guys, i'm back from china for a few days...
# Jun 20th 2018, 22:12 saeideng hmic , nĭ hăo
# Jun 20th 2018, 21:16 mdunham the fields on customer record are redundant i guess
# Jun 20th 2018, 21:16 mdunham it set the ids on the user field and on the address record
# Jun 20th 2018, 21:15 mdunham it did it in reverse
# Jun 20th 2018, 21:15 mdunham nevermind
# Jun 20th 2018, 21:15 mdunham the address_id and user_id in the customer record are blank
# Jun 20th 2018, 21:15 mdunham but it doesn’t set the proper id's
# Jun 20th 2018, 21:15 mdunham i set the associated in the customers add patchEntity method and it creates all the records
# 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