Log message #4201050

# At Username Text
# Sep 2nd 2019, 15:24 spriz Ah, thanks @neon1024! Jeremy, we are using sentry for both web and cli things
# Sep 2nd 2019, 15:19 neon1024 @spriz :point_up:
# Sep 2nd 2019, 15:06 jeremy.halin Hi, I'm using Sentry to get error reporting. It's working fine with their one line code `Sentry\init(['dsn' => '***']);`, but I'm not sure where to place it. What's the cleanest way ? I've put it in `config/bootstrap.php`. Also, if anyone using a bug reporting tool like Sentry, did you succeed to get errors from CakePHP CLI ? Can't get it work in this mode. Thanks!
# Sep 2nd 2019, 15:05 cnizzardini https://github.com/cnizzardini/cakephp-yummy
# Sep 2nd 2019, 15:05 cnizzardini This is a cake plugin that I've split out into its own project, it no longer has an app.php to reference, and I can't figure out how to fake it in there when running unit tests.
# Sep 2nd 2019, 15:04 cnizzardini I am working on splitting this out of a parent project and after having done so on my localhost none of the unit tests are working. Doesn't seem to be loading fixtures like it was: https://github.com/cnizzardini/cakephp-yummy
# Sep 2nd 2019, 15:03 cnizzardini Agreed, but I am trying to understand how to have a plugin as a stand-alone project and would like to learn how to do this anyways.
# Sep 2nd 2019, 14:59 val There is `Model::validates()` in 2.x. What's its alternative in 3.x?
# Sep 2nd 2019, 14:39 dereuromark $entity->setError(), should be noted in migration guide I hope.
# Sep 2nd 2019, 14:39 val Hi, how to invalidate a field in 3.x Table class? There is `invalidate()` method in 2.x.
# Sep 2nd 2019, 14:37 dereuromark Some IDE people here that can help me test a new beta feature for IdeHelper? https://github.com/dereuromark/cakephp-ide-helper/pull/142 Auto collecting template variables. For me, it works quite well ``` -> generate_link | * @var \App\View\AppView $this | + * @var mixed $content | + * @var mixed $types | */ ```
# Sep 2nd 2019, 14:23 neon1024 Feels like a job for a recursive function
# Sep 2nd 2019, 14:07 dereuromark I updated the PR, you can test it out.
# Sep 2nd 2019, 13:54 ndm There's no such method AFAIK.
# Sep 2nd 2019, 13:44 neon1024 I’d like to kinda check a whole marshalled entity and it’s associations
# Sep 2nd 2019, 13:43 neon1024 I presume the core farms out each `isDirty()` check to each association
# Sep 2nd 2019, 13:43 neon1024 Before I write a method to check an entity and all it’s associations for dirty fields, is there something which already does this?
# Sep 2nd 2019, 11:49 neon1024 @ndm :clap: Thanks
# Sep 2nd 2019, 11:49 neon1024 Seems I’m looking for `EagerLoader::contain()`
# Sep 2nd 2019, 11:49 ndm @neon1024 `\Cake\ORM\AssociationsNormalizerTrait`
# Sep 2nd 2019, 11:46 jezafran Hi
# Sep 2nd 2019, 11:45 neon1024 Or a method for correctly traversing a dot notation association string
# Sep 2nd 2019, 11:45 neon1024 Is there a nice api for converting dot associations into arrays? I presume there must be somewhere
# Sep 2nd 2019, 11:29 dereuromark :)
# Sep 2nd 2019, 11:29 dereuromark Feel free to continue
# Sep 2nd 2019, 11:22 javier.villanueva yes
# Sep 2nd 2019, 11:21 alexdd55976 dunno... working in subfolders always seems to tricky at some point. i avoid that as much as possible
# Sep 2nd 2019, 11:21 alexdd55976 hm..
# Sep 2nd 2019, 11:12 javier.villanueva then I go with the authorization xD
# Sep 2nd 2019, 11:11 javier.villanueva works
# Sep 2nd 2019, 11:11 javier.villanueva $service->loadAuthenticator('Authentication.Form', [ 'fields' => $fields, 'loginUrl' => '/mycake/users/login', 'logoutRedirect' => '/mycake/users/login' ]);
# Sep 2nd 2019, 11:11 javier.villanueva If I use
# Sep 2nd 2019, 11:10 alexdd55976 so its a subfolder... did you check in your app.php if it helps to make adjustments there=
# Sep 2nd 2019, 11:08 javier.villanueva localhost/mycake
# Sep 2nd 2019, 11:08 alexdd55976 when you call your URL to open the webseite is localhost/mycake or localhost?
# Sep 2nd 2019, 11:04 javier.villanueva if I use Router::url in another place works perfectly
# Sep 2nd 2019, 11:01 alexdd55976 yeah.. this sounds weird...
# Sep 2nd 2019, 11:01 javier.villanueva is very strange
# Sep 2nd 2019, 11:01 javier.villanueva :( I have no problems for example in links with Html helper...
# Sep 2nd 2019, 11:00 alexdd55976 @javier.villanueva not really.. seems to be some bad configuration on document root / webroot
# Sep 2nd 2019, 11:00 javier.villanueva @alexdd55976 do you have this problem by default?