Log message #4201738

# At Username Text
# Sep 5th 2019, 09:44 spriz What would be the best way to handle numbers in request data coming in different locales per browser? beforeMarshal? Or is there some fancy way in Cake to handle this?
# Sep 5th 2019, 09:07 challgren Thanks @dereuromark
# Sep 5th 2019, 08:44 Nitrogen @dereuromark, cheers.
# Sep 5th 2019, 08:39 dereuromark many of them are optional as most things during 3.x are totally BC.
# Sep 5th 2019, 08:38 dereuromark execute each of the minor upgrades as per tool or migration guide ( https://github.com/dereuromark/upgrade/ ) and then you should be good.
# Sep 5th 2019, 08:37 Nitrogen wasn't mentioned specifically on the migration page, just wanted to make sure.
# Sep 5th 2019, 08:37 Nitrogen guys, I'm looking to update my project from 3.5.10, do I upgrade incrementally? I'm using composer.
# Sep 5th 2019, 08:34 dereuromark yeah, sounds like a valid issue.
# Sep 5th 2019, 08:30 conehead Maybe an error should be thrown if the types differ? Now just a weird behavior occurs
# Sep 5th 2019, 08:30 conehead Well in case anyone wants to know:
# Sep 5th 2019, 08:25 dereuromark @challgren Actually, you were right, there is a way to add this as enhancement on top: https://github.com/dereuromark/cakephp-ide-helper/issues/145
# Sep 5th 2019, 08:24 neon1024 I was so sure that `get()` takes dot notation, `$entity->get('_joinData.sortorder')` right?
# Sep 5th 2019, 08:20 neon1024 Not sure how it looks to everyone else, but our country is an embarrassment in my opinion!
# Sep 5th 2019, 08:19 neon1024 Boris wanted to do it, and I guess they’re going to keep him in there until he does, somehow
# Sep 5th 2019, 08:19 neon1024 MP’s denied the bill for a General Election too
# Sep 5th 2019, 08:18 neon1024 I just want :sunny: for :cricket_bat_and_ball: instead of :umbrella_with_rain_drops:
# Sep 5th 2019, 08:17 neon1024 @admad I’m not too sure actually. Now that Bojo has lost the majority the rest of the house has passed a bill to prevent a No Deal. So it will happen, but probably be delayed again
# Sep 5th 2019, 08:07 conehead Well yes, that might be true. Still this is some really strange behavior. Still it should imho be possible.
# Sep 5th 2019, 08:04 admad unless you are a masochist you shouldn't try to use char fields to store both int and char foreign keys
# Sep 5th 2019, 08:03 slackebot debug it but only for `int(11)` the entity `TagsTagged` is set to `isNew`, but not for `char(36)` https://github.com/cakephp/cakephp/blob/9c1591001cd92e9d4ad9ed354c769514b0a61ee3/src/ORM/Association/BelongsToMany.php#L847
# Sep 5th 2019, 08:03 conehead @dereuromark I am using it the way you use it in your sandbox (and usually it is working) I have to say I changed the foreign key from `int(11)` to `char(36)` so I could link it with both. When leaving it as `int(11)` it works fine with linked id foreign keys. When changing it to `char(36)` it works with entitys that have a uuid. But then it won't work with ids `int(11)` anymore as duplicate entries are created. Currently I am trying to
# Sep 5th 2019, 07:58 admad is it gonna still happen now that joker lost majority?
# Sep 5th 2019, 07:57 admad morning brexiter!
# Sep 5th 2019, 07:56 neon1024 Morning everyone :wave:
# Sep 5th 2019, 07:47 Fasti I think i have found where it is overriding from ... time to test some fixes. Thanks for reading anyway
# Sep 5th 2019, 07:45 Fasti oh maybe i should put it in layout not template
# Sep 5th 2019, 07:41 Fasti i know its coming from bootstrap.php for the title. I tried adding a header and title to the template and it still overrides. so i tried $this->pageTitle = in the controller and using that in the template but bootstrap seems to come after for some reason...
# Sep 5th 2019, 07:37 Fasti inherited site, trying to decipher and learn cake while addressing simpler things
# Sep 5th 2019, 07:37 dereuromark Conehead
# Sep 5th 2019, 07:37 dereuromark How are you building your entity data? Maybe sth is off here.
# Sep 5th 2019, 07:34 Fasti adding a head title section doesnt seem to override it so i gather its being called by a controller ?
# Sep 5th 2019, 07:34 Fasti Bootstrap theme has a title parameter which i want to override or append to in my templates on certain pages. is there a right way to do this?
# Sep 5th 2019, 07:04 conehead Is this a bug in Cake?
# Sep 5th 2019, 07:00 conehead ffs....uuids again. What a strange behavior
# Sep 5th 2019, 06:44 conehead If I remove that key, the joindata will be saved MAXIMUM twice. After that one line will be deleted and another one is created
# Sep 5th 2019, 06:43 conehead there is a unique key over 2 columns: https://github.com/dereuromark/cakephp-tags/blob/f5f89c68bbf73af67c236091a36584a6ca16cc51/config/Migrations/20180113144821_MigrationTagsInit.php#L94
# Sep 5th 2019, 06:38 alexdd55976 what happens if you set the DB field to unique?
# Sep 5th 2019, 06:24 conehead Summary: Cake tries to create joinData although it already exists
# Sep 5th 2019, 06:20 conehead Good gosh. Same old error just popped up. Anyone working with joinData? I am trying to save my entity with a `tag` (join table `tagged`) The entity, the `tag` entity and the tagged `entity` are `[new] = false` and have the appropriate ids. Still when I am trying to save the entity, cake tries to create new joinData, which results in a duplicate unique key error. Slowly I am out of ideas. (using https://github.com/dereuromark/cakephp-tags)
# Sep 5th 2019, 05:44 conehead morning
# Sep 5th 2019, 05:36 alexdd55976 Morning