Log message #4121896

# At Username Text
# Mar 5th 2018, 19:07 birdy247 Always happy to help
# Mar 5th 2018, 19:06 birdy247 No prob
# Mar 5th 2018, 19:06 admad @birdy247 ok, on it as soon as i return from my shower. I have few other changes locally which you can help test out :slightly_smiling_face:
# Mar 5th 2018, 18:53 birdy247 So if I wanted to add some setters
# Mar 5th 2018, 18:52 admad @birdy247 why do you want socialprofiles table to be configurable?
# Mar 5th 2018, 18:32 birdy247 In the _getUser of the SocialAuthMiddleware, it would be real nice if we would make that SocialProfiles table configurable :)
# Mar 5th 2018, 18:31 birdy247 @admad Can I suggest an feature
# Mar 5th 2018, 18:11 birdy247 is that a limitation of the socialConnect/auth plugin?
# Mar 5th 2018, 18:11 birdy247 but I notice this never returns
# Mar 5th 2018, 18:10 birdy247 I am trying to pass in other fields such as photo_url
# Mar 5th 2018, 18:10 birdy247 @admad quick question
# Mar 5th 2018, 17:42 birdy247 neat
# Mar 5th 2018, 17:42 birdy247 I just took a look at the middleware :slightly_smiling_face:
# Mar 5th 2018, 17:41 admad the plugin doesn't have a controller :slightly_smiling_face:
# Mar 5th 2018, 17:15 birdy247 I cant find the controller in th plugin src
# Mar 5th 2018, 17:15 birdy247 On your Login with Facebook postLink
# Mar 5th 2018, 17:14 birdy247 Hey @admad just looking at your social auth plugin
# Mar 5th 2018, 16:29 savant great
# Mar 5th 2018, 16:29 marcusgoede works fine for me
# Mar 5th 2018, 16:12 marcusgoede ok, i will try. thanks again!
# Mar 5th 2018, 16:12 savant since the PaginatorHelper introspects on that.
# Mar 5th 2018, 16:11 savant You’d need to populate data in the request object for the view
# Mar 5th 2018, 16:11 marcusgoede ok, thank you. same question for the paginator helper. can i use it, if i have page, perPage, pageCount?
# Mar 5th 2018, 16:02 savant if your Table class is backed by an api - such as the WebservicesPlugin - then you can paginate it probably
# Mar 5th 2018, 16:02 savant it needs to paginate a Table class
# Mar 5th 2018, 16:02 savant PaginatorComponent doesn’t generically paginate things
# Mar 5th 2018, 15:52 marcusgoede hello! is there a tutorial how to use the paginator for custom arrays, i.e. from an API? no database, no model…
# Mar 5th 2018, 15:11 dereuromark Also relates to https://github.com/cakephp/cakephp/issues/11789 and hidden bugs in current app code.
# Mar 5th 2018, 15:00 dereuromark Even though you can set it without marshalling on the entity itself, which IMO could also be fixed if it was lower down.
# Mar 5th 2018, 14:59 dereuromark Does the marshaller have schema data? then yes.
# Mar 5th 2018, 14:52 neon1024 Isn’t think just down to the marshaller in most cases? Understanding that `''` is a null type
# Mar 5th 2018, 14:39 dereuromark in 3.x I still have hope we can find sth working cleanly out of the box.
# Mar 5th 2018, 14:39 dereuromark In 2.x I always used NOT NULL and empty string only - never ever null - since there it was even harder to control a clean ORM approach here.
# Mar 5th 2018, 14:39 dereuromark :slightly_smiling_face: Thats why I am saying it. I bet 95% of all devs do. Most dont know it, since doing "lookups for empty" is a lot rarer then checking for nonempty content.
# Mar 5th 2018, 14:37 leonardo.crecente yes, I'm facing it too
# Mar 5th 2018, 14:35 dereuromark having two nullish values just is wrong if you didnt code for or except it.
# Mar 5th 2018, 14:35 dereuromark See https://github.com/cakephp/cakephp/issues/9678 :slightly_smiling_face: I think we really should taggle those data integrity issues most basic apps out there actually currently phase without my plugin.
# Mar 5th 2018, 14:31 leonardo.crecente Thanks dereuromark, I'll try it
# Mar 5th 2018, 14:23 dereuromark See https://github.com/dereuromark/cakephp-shim/tree/master/docs#nullable-behavior as to solve this core issue that you are facing then. This is still unresolved for most use cases, so this behavior is a vital piece to overcome the issue IMO.
# Mar 5th 2018, 14:22 leonardo.crecente ok thanks
# Mar 5th 2018, 14:21 dereuromark Its `... !=' => ''`