Log message #4121860

# At Username Text
# 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 `... !=' => ''`
# Mar 5th 2018, 14:21 dereuromark you should never do both null and '' checks IMO, that is a data integraty problem. apart from that IS NOT' => '' is invalid syntax
# Mar 5th 2018, 14:20 leonardo.crecente I'm having some issues on cake 3 mysql query. Can someone help me please? https://pastebin.com/uZmPpMQz
# Mar 5th 2018, 14:19 popperz0r Hello! Any lib to generate facebook high resolution images?
# Mar 5th 2018, 14:14 Martin` since cakephp 3.5.13 in entity the $this->_properties array is not always filled? I do not check if an item exists in that array, happy it is just some small changes I have to do :P
# Mar 5th 2018, 13:38 birdy247 :slightly_smiling_face:
# Mar 5th 2018, 13:31 admad just read the readme of socialauth :slightly_smiling_face:
# Mar 5th 2018, 13:29 birdy247 @admad Just wondering if you have any tips on migration from your Hybrid Auth plugin to the socialAuth plugin?
# Mar 5th 2018, 13:02 admad shiftplayer: it's not, but https://github.com/FriendsOfCake/crud-json-api is
# Mar 5th 2018, 13:00 admad @dereuromark "Spares me the internal request baggage" cells don't do any internal request
# Mar 5th 2018, 12:34 shiftplayer does anybody now if the JSON View described in the documentation (https://book.cakephp.org/3.0/en/views/json-and-xml-views.html) is compatible with json-api? (http://jsonapi.org/)
# Mar 5th 2018, 12:33 shiftplayer Hi
# Mar 5th 2018, 12:20 portilloster but the idea is to have a login, and in the next view you can see the name of the person that is logged
# Mar 5th 2018, 12:19 neon1024 Hehe!
# Mar 5th 2018, 12:19 portilloster I do not know whether the docs need tweaking, to be honest Im just a simply junior dev and I just do what I´m told!
# Mar 5th 2018, 12:18 portilloster thanks @neon1024!! It worked!!
# Mar 5th 2018, 12:04 joshualuckers but maybe helpers are a better solution
# Mar 5th 2018, 12:04 dereuromark I still use component+helper mix here :slightly_smiling_face: Spares me the internal request baggage
# Mar 5th 2018, 12:04 joshualuckers I use cells to make reusable pieces of templates. For example a "ProductPriceCell" that can be reused in different views.
# Mar 5th 2018, 12:03 neon1024 I like them for database driven navigation, and some sidebars
# Mar 5th 2018, 12:03 dereuromark Really? anything in cells can be done otherwise as well, or at least I thought so until now.
# Mar 5th 2018, 12:02 neon1024 I love a view cell :slightly_smiling_face:
# Mar 5th 2018, 12:01 dereuromark It doesnt work with cells yet quite well afaik - but tbh, I never use cells anyway. Dont find them useful.
# Mar 5th 2018, 12:00 dereuromark The plugin workaround using https://github.com/dereuromark/cakephp-tinyauth/blob/master/docs/Authorization.md#authusercomponent works fine for me (and all others) for the time being, but I would still like to see this landing in core at some point.
# Mar 5th 2018, 11:58 dereuromark yes, opened April 2015: https://github.com/cakephp/cakephp/issues/6247 => evolved into https://github.com/cakephp/cakephp/issues/6925 but should have never closed due to the missing request part IMO that the helper/view level needs :slightly_smiling_face: