Log message #4223939

# At Username Text
# Jan 27th 2020, 12:34 neon1024 Based on the assumption
# Jan 27th 2020, 12:34 neon1024 Anyone able to give me some ideas why my entity isn’t saving? I haven’t got any errors in it, I’ve checked `getErrors` I’ve also tried the `associated` in the save options
# Jan 27th 2020, 12:07 slackebot https://www.cakedc.com/articles
# Jan 27th 2020, 12:07 megan @saidfuad91, unfortunately, there was not enough demand for the certification course so we've removed the CakePHP 2 Certification program and are not moving forward with the CakePHP 3 and 4 certification courses at this point in time. There are training courses every month - please join in on one/some of those! The CakeDC team works hard at building resources that are useful to the community, have you checked out their blog?
# Jan 27th 2020, 12:03 kevin.pfeifer Hey Cake Community! I got a Question about Migrations in CakePHP4. I know how to add/change the SQL structure of my DB but how i do migrate data from one table to another? Reason for that is that i want to migrate a 1:N into a N:M and therefore transfer the already connected data into the 3rd "connection" table.
# Jan 27th 2020, 11:51 saidfuad91 Thanks for the information
# Jan 27th 2020, 11:51 neon1024 I would suggest getting in touch with the team at CakeDC https://www.cakedc.com/
# Jan 27th 2020, 11:50 neon1024 But a Cake 3 one never got released before Cake 4 was out
# Jan 27th 2020, 11:50 saidfuad91 So how do i go about this @neon1024
# Jan 27th 2020, 11:50 neon1024 Used to be on https://training.cakephp.org/
# Jan 27th 2020, 11:50 neon1024 Not sure there is a certification any more
# Jan 27th 2020, 11:49 saidfuad91 Hi Guys, i would like to become an officially certified CakePHP developer through the developer certification program. I cant find the certification on the site. Kindly assist.
# Jan 27th 2020, 11:48 neon1024 Knew if I asked I’d find it, https://book.cakephp.org/3/en/orm/database-basics.html#using-transactions
# Jan 27th 2020, 11:47 neon1024 I can’t find it in Database Basics or Saving Data
# Jan 27th 2020, 11:47 neon1024 Where is the bit in the book about building transactional code? I need to wrap three database operations in a transaction
# Jan 27th 2020, 11:14 conehead @lpj145 But you added the pluginname to the route, right? http://yourpage/yourplugin/controller/action
# Jan 27th 2020, 11:04 neon1024 Although if you’re going to package it for Composer, you might not want to have it in `src/plugins`
# Jan 27th 2020, 11:03 neon1024 I would guess it’s similar to Cake 3 though, in that you bake a plugin into `src/plugins` then load it in `src/Application.php`
# Jan 27th 2020, 11:03 neon1024 Sorry, I haven’t used Cake 4 yet to make plugins
# Jan 27th 2020, 11:03 lpj145 the things about core code to wampv2 gone ok.
# Jan 27th 2020, 11:02 lpj145 i'm trying create a simple good wampv2 plugin for cakephp.
# Jan 27th 2020, 11:02 lpj145 yes
# Jan 27th 2020, 11:01 neon1024 Are you using Cake 4?
# Jan 27th 2020, 11:01 neon1024 It would need to be loaded
# Jan 27th 2020, 11:01 lpj145 have a method to test injected plugins ?
# Jan 27th 2020, 11:01 lpj145 ok, can't work = work nothing, not pause execution, not add routes or commands...
# Jan 27th 2020, 11:01 neon1024 Can you explain your issue in more detail
# Jan 27th 2020, 11:00 neon1024 “Can’t work” is confusing and not very descriptive
# Jan 27th 2020, 11:00 lpj145 have a magic method ? or follow the docs is sufficient ?
# Jan 27th 2020, 11:00 lpj145 Guy's, i tried create a plugin with bake command, but when addPlugin on application, plugin cant work routes, commands, anything, simple dd on bootstrap method can't work...
# Jan 27th 2020, 09:39 slackebot Time::setToStringFormat($dateTimeFormat); Type::build('date')->useLocaleParser(); Type::build('datetime')->useLocaleParser();```
# Jan 27th 2020, 09:39 conehead I added this to the bottom of my bootstrap file: ` ```$dateFormat = 'dd.MM.yyyy'; $dateTimeFormat = 'dd.MM.yyyy HH:mm'; FrozenDate::setJsonEncodeFormat($dateFormat); Date::setJsonEncodeFormat($dateFormat); FrozenTime::setJsonEncodeFormat($dateTimeFormat); Time::setJsonEncodeFormat($dateTimeFormat); FrozenDate::setToStringFormat($dateFormat); Date::setToStringFormat($dateFormat); FrozenTime::setToStringFormat($dateTimeFormat);
# Jan 27th 2020, 09:38 conehead usually you do not need to convert it
# Jan 27th 2020, 09:38 conehead hm
# Jan 27th 2020, 09:30 andre.karner ```->date('invoice_date', ['dmy'])``` ['dmy'] did the trick - at first dmY threw an exception, debugging lead me to the solution :)
# Jan 27th 2020, 09:25 andre.karner might be in the validator? ```public function date(string $field, array $formats = ['ymd'], ?string $message = null, $when = null)```
# Jan 27th 2020, 09:23 andre.karner does not change things :(
# Jan 27th 2020, 09:23 andre.karner already done
# Jan 27th 2020, 09:19 javier.villanueva In your app.php you must configure: ```'defaultLocale' => env('APP_DEFAULT_LOCALE', 'de-DE'),```
# Jan 27th 2020, 09:11 andre.karner hey guys! someone know how to force specific datetime format? I've set the locale of Date / Time to "de-DE" but validation always says that the provided value is invalid. MySQL needs YYYY-MM-dd but I let my users provide the value in following format: dd.MM.yyyy - do I have to cast this manually?
# Jan 27th 2020, 07:30 alexdd55976 morning