Log message #4054094

# At Username Text
# Jul 19th 2017, 14:35 jarard Error: Database connection "Mysql" is missing, or could not be created.
# Jul 19th 2017, 14:35 jarard my cake2 app appears to be working fine, but when I manually run one of the console cron jobs i see:
# Jul 19th 2017, 14:30 neon1024 I’ve found learning new programming languages quite interesting, as I’ve had a go with Python too
# Jul 19th 2017, 14:28 neon1024 @hmic Things are really quiet, so I’m trying to refactor some of the older plugins at work, and learn some new things. Like functional programming, Rust, Vue.JS and some more things about Value objects.
# Jul 19th 2017, 13:42 admad i think savant's burst of PRs has past
# Jul 19th 2017, 13:41 hmic there is lots of small things on crudview i'd like to address actually, i'm doing so in my own apps as i like the extensibility on the elements (copy to app namespace)... but with savant having a go lately, i'd better wait and see *fg*
# Jul 19th 2017, 13:39 sauvaget using innerJoin instead of matching
# Jul 19th 2017, 13:39 sauvaget found a solution ;) https://gist.github.com/l0rdseth/7ce2cb8024d5d2b5c391161d63a2088a
# Jul 19th 2017, 13:39 hmic admad: you know i love to submit PRs from the github interface directly :O
# Jul 19th 2017, 13:38 admad "even managed to submit a PR to crudview lately" you can do MOAR :P
# Jul 19th 2017, 13:37 hmic how about you?
# Jul 19th 2017, 13:37 hmic neon1024: thank you for asking ;-) playing a little too much lately (cryptocoins, amazon alexa skills and stuff, 3dprinters, ...). but it's hot and not so much on the table at the moment. even managed to submit a PR to crudview lately :D
# Jul 19th 2017, 13:31 neon1024 How are things @hmic? Hope all is well with you :slightly_smiling_face:
# Jul 19th 2017, 13:28 sauvaget I'll go and bug our Cake guy here in the company ;)
# Jul 19th 2017, 13:28 sauvaget which of course contain entries
# Jul 19th 2017, 13:27 sauvaget Favorites are are individual lists
# Jul 19th 2017, 13:26 sauvaget sorry the Database Design is a absolut mess
# Jul 19th 2017, 13:26 sauvaget yeah, but i only want to filter the FavoriteEntries not the Favorites
# Jul 19th 2017, 13:25 hmic by the projects
# Jul 19th 2017, 13:25 sauvaget but wouldn't I then be filtering the Favorites?
# Jul 19th 2017, 13:22 hmic dont put the matching FavoriteEntries.Projects inside the FavoriteEntries but next to it
# Jul 19th 2017, 13:22 neon1024 But this change would be strictly for debugging and development purposes!
# Jul 19th 2017, 13:22 VersadrillCanada thx
# Jul 19th 2017, 13:22 hmic yes
# Jul 19th 2017, 13:22 neon1024 @VersadrillCanada, I would just have your `isAuthorized()` method always return true
# Jul 19th 2017, 13:21 sauvaget thanks!
# Jul 19th 2017, 13:21 sauvaget that's what I'll do then
# Jul 19th 2017, 13:21 neon1024 As matching filters associations by a parent, so you’d contain, then matching afterwards. At least, that’s what I do
# Jul 19th 2017, 13:21 VersadrillCanada im doing the bookmark exercise on the web site and i implement the authorization and i want to turn it off without removing all the code i made to access something without the user authorizatrion. thx
# Jul 19th 2017, 13:21 sauvaget that's the question ;)
# Jul 19th 2017, 13:21 neon1024 Plus, I’m not sure you can use matching inside a contain
# Jul 19th 2017, 13:20 sauvaget same error
# Jul 19th 2017, 13:20 sauvaget yeah, just tried that aswell
# Jul 19th 2017, 13:20 neon1024 It’s just ‘Projects’
# Jul 19th 2017, 13:19 sauvaget as soon as I integrate the matching() I receive a "FavoriteEntries is not associated with"
# Jul 19th 2017, 13:17 hmic whats the problem?
# Jul 19th 2017, 13:17 hmic looks like it is
# Jul 19th 2017, 13:15 sauvaget I've added the whole query. Just wanted to ask in general if it is possible to do something like that?
# Jul 19th 2017, 13:14 sauvaget sry ;) https://gist.github.com/l0rdseth/d8676a93f64311cd66a9a3ba985c1400
# Jul 19th 2017, 13:12 hmic !tell sauvaget about gist
# Jul 19th 2017, 13:09 sauvaget unfortunatly, I am getting some association error. :(