Log message #4104979

# At Username Text
# Dec 19th 2017, 20:50 birdy247 the redirect uri must be fixed
# Dec 19th 2017, 20:50 birdy247 facebook just announced a change
# Dec 19th 2017, 20:50 birdy247 same
# Dec 19th 2017, 20:48 dereuromark I still use the old one
# Dec 19th 2017, 20:46 birdy247 is anyone using the social auth plugin
# Dec 19th 2017, 20:41 birdy247 evening
# Dec 19th 2017, 19:38 joop i got it i tried to save to the same Entity insed of a new one
# Dec 19th 2017, 19:00 joop i dont understand why this load with the last Review entity
# Dec 19th 2017, 19:00 joop i tried $Reviews[$index] = $Review;
# Dec 19th 2017, 18:59 joop but after all the patchEntities variable contans only the same (LAST)Entity
# Dec 19th 2017, 18:58 joop i try to itarete on a PatchEntities with foreach to append some datas
# Dec 19th 2017, 18:25 devito hello all, Does anyone have an example of how to use a entity method as a validation rule?
# Dec 19th 2017, 18:05 inoas laughing out loud debug mode ... nc ... my brain
# Dec 19th 2017, 18:01 inoas can U use cakephp's "Cache" class to use apcu to cache in memory data between multiple requests?
# Dec 19th 2017, 16:47 neon1024 Sorry @dereuromark I’ve run out of time and patience with it. I’ve submitted the changes which make the tests fail. I’ll see if I can fix it tomorrow. For some reason the App::className return changes sometimes, and I’ve no idea how or why
# Dec 19th 2017, 16:33 neon1024 Time for a debug_backtrace I guess :(
# Dec 19th 2017, 16:33 neon1024 Yeah I’ve no idea why the calling context is wrong, but when you var-dump inside App::className it’s correct
# Dec 19th 2017, 16:23 neon1024 Strange as when you dump it directly in the App::className method it’s getting the right class
# Dec 19th 2017, 16:15 neon1024 File uploaded https://cakesf.slack.com/files/U1BT622HW/F8GUG77B6/-.txt / https://slack-files.com/T053DPNCM-F8GUG77B6-a2cb1ca240
# Dec 19th 2017, 16:15 neon1024 As the App:className actually just returns the same string as input
# Dec 19th 2017, 16:15 neon1024 I think you’re right, the issue seems to actually be much further up the code chain here, https://github.com/dereuromark/cakephp-ide-helper/blob/master/src/Annotator/ModelAnnotator.php#L118
# Dec 19th 2017, 16:12 neon1024 Yep
# Dec 19th 2017, 16:11 dereuromark you are working on a mac, right?
# Dec 19th 2017, 16:10 dereuromark using App:: class
# Dec 19th 2017, 16:10 dereuromark the annotation is fqcn, which is resolved from the dot syntax
# Dec 19th 2017, 16:10 neon1024 So I must have the code flow backwards in my brain
# Dec 19th 2017, 16:10 neon1024 But the annotation doesn’t use a dot
# Dec 19th 2017, 16:09 neon1024 But then you concat with a dot for some reason, https://github.com/dereuromark/cakephp-ide-helper/blob/master/src/Annotator/ModelAnnotator.php#L249
# Dec 19th 2017, 16:09 dereuromark jep
# Dec 19th 2017, 16:09 neon1024 Like this? https://regex101.com/r/algUh1/1
# Dec 19th 2017, 16:09 neon1024 You meant here right when you mentioned regex? https://github.com/dereuromark/cakephp-ide-helper/blob/master/src/Annotator/ModelAnnotator.php#L271
# Dec 19th 2017, 16:08 dereuromark what?
# Dec 19th 2017, 16:08 neon1024 Man this hurts my brain
# Dec 19th 2017, 15:56 neon1024 I’ve managed to get a failing test finally, so just working on a fix
# Dec 19th 2017, 15:56 neon1024 Yeps, it’s in its own repo as per the path above :slightly_smiling_face:
# Dec 19th 2017, 15:55 dereuromark Are you developing it inside your app? best to do that standalone, and add classes there with custom autoloader picking them up prbably
# Dec 19th 2017, 15:51 hmic welcome
# Dec 19th 2017, 15:51 hmic ;-)
# Dec 19th 2017, 15:50 neon1024 Good job hmic! Thanks dude, spot on as always
# Dec 19th 2017, 15:49 neon1024 Yes, good point. Let me try that!
# Dec 19th 2017, 15:48 hmic as it's not a vendor plugin, you need the autolaoder setup in composer.json to recognise it