Log message #4102080

# At Username Text
# Dec 9th 2017, 09:54 JD-Robbs When I run Router::getRouteCollection() inside a middleware, I don't get any of my own routes yet (only ones from DebugKit are setup). So just wondering how I can get my own?
# Dec 9th 2017, 08:55 ra7bi when i clicked on Variables
# Dec 9th 2017, 08:55 ra7bi that was the browser console output
# Dec 9th 2017, 08:55 ra7bi debugKit not able to show Variables tab '/debug-kit/panels/view/592ab69d-7e5b-45ec-9df7-c587d360eb97 500 (Internal Server Error)'
# Dec 8th 2017, 22:35 meder one of those fields is a datetime. i'm guessing it craps out on that
# Dec 8th 2017, 22:35 meder why do i get "Unexpected data found" when specifying $entity->toArray() to a patchEntity? i just want to adjust 1 or 2 fields in my entity and use a validation method
# Dec 8th 2017, 15:32 hmic or clean it up :D
# Dec 8th 2017, 15:32 hmic i'd try that. after the first erro
# Dec 8th 2017, 15:29 jotpe or what would be a good solution?
# Dec 8th 2017, 15:29 jotpe and then migrate every plugin step by step?
# Dec 8th 2017, 15:28 hmic :P
# Dec 8th 2017, 15:28 hmic jotpe: why not upgrade without plugins?
# Dec 8th 2017, 15:27 jotpe when using the upgrade tool all command, my app is messed up. f.e. all plugin controllers are in app/src/Controllers and not in the corresponding plugin folder. Did i missed some preparation?
# Dec 8th 2017, 14:33 hmic technically cou can register to listen to an event whenever you like to, as long as it happens before the event gets fired in your program flow
# Dec 8th 2017, 14:32 hmic can/should be in the plugins bootstrap and plugin be loaded with bootstrap => true in the options array...
# Dec 8th 2017, 14:32 hmic meder: usually it's bootstrap time, if you are registering with the global eventmanager
# Dec 8th 2017, 14:31 meder i found i had to do that. cake 3
# Dec 8th 2017, 14:31 meder is there a way to register an event listener from another plugin without registering it in bootstrap.php?
# Dec 8th 2017, 13:16 jotpe ok, ty @admad
# Dec 8th 2017, 13:15 admad no need to add composer to the old cake2 app
# Dec 8th 2017, 13:15 admad directly start with clean 3.5 skeleton app.
# Dec 8th 2017, 13:10 jotpe should i set up composer first for my cake2 application?
# Dec 8th 2017, 13:08 jotpe hey! I have a Cake 2.10.5 application with lots of custom plugins and want to migrate to Cake3. I'm reading the 3.0 Migration Guide. Should I uprade the core/app structure/orm directly to 3.5 or first to 3.0 and then step by step to 3.5?
# Dec 8th 2017, 12:10 joopm so can i useinside if a controller's function parent::beforeRender()?
# Dec 8th 2017, 12:08 hmic just call parent::beforeRender() before or after your additional logic in the beforeRender() method of your controller
# Dec 8th 2017, 12:08 hmic and you can extend it in your controllers
# Dec 8th 2017, 12:08 hmic it's both actually
# Dec 8th 2017, 12:06 joopm oh i see beforeRender is an event and not a function
# Dec 8th 2017, 12:05 joopm so i mean to use that special controller i want to filter
# Dec 8th 2017, 12:04 joopm i need to filter users someway,i know i can have a beforeRender function in the appController but i need to use it in my own controller's "function"
# Dec 8th 2017, 11:45 birdy247 so it just taking the 1st order clause
# Dec 8th 2017, 11:45 birdy247 page=2andsort=Results.dnfanddirection=ASC#rAnchor
# Dec 8th 2017, 11:44 birdy247 It then appends this to the URL string
# Dec 8th 2017, 11:44 birdy247 Which seems to work until I click the next page button
# Dec 8th 2017, 11:44 birdy247 File uploaded https://cakesf.slack.com/files/U0T295QA3/F8B33M87J/-.php / https://slack-files.com/T053DPNCM-F8B33M87J-d893210da7
# Dec 8th 2017, 11:44 birdy247 I have this
# Dec 8th 2017, 11:44 birdy247 Can pgaintae have multiple order clauses?
# Dec 8th 2017, 11:22 joopm okey thank you
# Dec 8th 2017, 11:20 hmic a login does usually not do that
# Dec 8th 2017, 11:20 hmic you need to save an entity for the field to get updated
# Dec 8th 2017, 11:20 hmic saved!