Log message #4161461

# At Username Text
# Jul 23rd 2018, 21:54 mdotobie it’s added as a submodule
# Jul 23rd 2018, 21:53 mdotobie yes it is in the plugins folder @saeideng
# Jul 23rd 2018, 21:53 itmpls oh that just dumps the already loaded
# Jul 23rd 2018, 21:53 itmpls hm, why would one need to manually do that, @saeideng?
# Jul 23rd 2018, 21:53 saeideng `composer dump-autoload`
# Jul 23rd 2018, 21:52 mdotobie but not in the Packages list of debugkit
# Jul 23rd 2018, 21:52 saeideng composer dump autoload
# Jul 23rd 2018, 21:51 mdotobie actually that’s interesting. it shows loaded if I use the `bin/cake plugin loaded` command
# Jul 23rd 2018, 21:51 saeideng is it in ` /plugins` folder ?
# Jul 23rd 2018, 21:49 itmpls thanks @saeideng
# Jul 23rd 2018, 21:49 itmpls what is your 'use' statement?
# Jul 23rd 2018, 21:49 mdotobie yes it’s loading
# Jul 23rd 2018, 21:49 itmpls did you enable debugkit and see if it gets loaded?
# Jul 23rd 2018, 21:49 mdotobie the plugin is not a composer package and so I’m manually adding it to the composer.json of the main application
# Jul 23rd 2018, 21:49 itmpls check the directory, check the classname, check the filename
# Jul 23rd 2018, 21:48 itmpls then it's a typo or wrong filename in the wrong directory
# Jul 23rd 2018, 21:48 saeideng and you can change probably in cakedc
# Jul 23rd 2018, 21:48 mdotobie that would seem the approach too @itmpls, but I’m getting class not found errors
# Jul 23rd 2018, 21:48 itmpls for a different reason..
# Jul 23rd 2018, 21:48 itmpls @saeideng oh, its probably because i set config users.php 'auth' to false.. ugh
# Jul 23rd 2018, 21:47 saeideng `auth` should be default
# Jul 23rd 2018, 21:47 itmpls or am i not understanding?
# Jul 23rd 2018, 21:47 itmpls use Plugin\Package\Dir\Class; and use Class?
# Jul 23rd 2018, 21:46 mdotobie I’m struggling with how to access classes inside plugins within the main application. Is this no-no and are you only allowed to access Controllers/Models/Behaviors/Components/Views from Plugins? I’m trying to package up some traits and services as a plugin but I’m wondering if a plugin architecture might be overkill.
# Jul 23rd 2018, 21:46 itmpls yeah, actually ended up doing that and it worked. it's weird because in my other setup, it works with ('auth')
# Jul 23rd 2018, 21:42 saeideng and you can remove its key
# Jul 23rd 2018, 21:42 saeideng Flash uses session
# Jul 23rd 2018, 21:21 itmpls is there something that would prevent echo $this->Flash->render('auth'); from rendering the flash output messages from cakedc? ( im extending ). loaded the flashcomponent in the app controller..
# Jul 23rd 2018, 21:03 dwms ?????????????????????
# Jul 23rd 2018, 21:02 dwms ???
# Jul 23rd 2018, 21:01 dwms what to do
# Jul 23rd 2018, 21:01 dwms crudjsonapi return with hiffen
# Jul 23rd 2018, 21:00 dwms javascript not accept hifen in name the variable
# Jul 23rd 2018, 21:00 dwms hello
# Jul 23rd 2018, 20:39 dereuromark Before we even start with 4.x stuff, I think we should first get 3.6 rather well covered.
# Jul 23rd 2018, 20:39 dereuromark Anyone interested in helping him getting the upgrade rules up to date for Cake3?
# Jul 23rd 2018, 20:32 dereuromark Crumbs ! :slightly_smiling_face: https://github.com/rectorphp/rector/issues/524
# Jul 23rd 2018, 20:16 awitte I wrote an issue into cakephp/chronos... https://github.com/cakephp/chronos/issues/176
# Jul 23rd 2018, 20:10 chris-andre Is this something for the beforeSave?
# Jul 23rd 2018, 20:09 chris-andre I did something like this in beforeMarshal() earlier, by unsetting $data[$key]. But that doesn't seem like a good way of doing it.
# Jul 23rd 2018, 20:07 slackebot way?