Log message #4104499

# At Username Text
# Dec 18th 2017, 14:15 admad @rafael.junqueira.sant I already told you DON'T include the flash element directly. And you are supposed to use the helper in your template file, not AppView. So replace `<?= $this->element('Flash/success'); ?>` with `$this->Flash->render()` and get rid of the `$this->Flash->render()` call you have in `AppView::initialize()`.
# Dec 18th 2017, 13:54 birdy247 but I havent created a specific model for this. instead I pass the query object and set a scope
# Dec 18th 2017, 13:53 birdy247 It talks about models in the Pagintor helper
# Dec 18th 2017, 13:51 birdy247 File uploaded https://cakesf.slack.com/files/U0T295QA3/F8FGUHAAU/-.php / https://slack-files.com/T053DPNCM-F8FGUHAAU-364463fc32
# Dec 18th 2017, 13:50 dereuromark not sure if all of that is already supported. I would rather use ajax probably
# Dec 18th 2017, 13:47 birdy247 but no success
# Dec 18th 2017, 13:46 birdy247 following the dcos
# Dec 18th 2017, 13:46 birdy247 I am trying to use multiple paginations on the same page
# Dec 18th 2017, 13:41 dereuromark I just use sessiona and dont mock too much here :slightly_smiling_face: usually more future proof, more realistic and easier on top
# Dec 18th 2017, 13:31 quantum-x Hey all. Working w/ tests on Cake 2.X. My Controller tests require Authentication, so I've mocked the Auth component. However, they're failing due as $this->Auth->allow() doesn't have the function listed, and obviously we've only stubbed the auth method. Any hints on how to get around this would be most appreciated. Gist is here: https://gist.github.com/quantum-x/a5df7705827cd7bae0c3ba335d5aa267
# Dec 18th 2017, 13:23 josexato any Idea
# Dec 18th 2017, 13:22 josexato I am not sure where to look, I've found some post talking to a debug limit, but I am not debugging anything
# Dec 18th 2017, 13:22 josexato https://pastebin.com/NsG5h1JF
# Dec 18th 2017, 13:21 josexato Good morning! One question I've implemented an autocomplete file successfully but I have this error when the response for the xhr has many results "maximum depth reached"
# Dec 18th 2017, 13:13 patsuckow Hello everybody! Tell me how to transfer from the form, by the get method, to the variable in url /products/search/. To get the result: /products/search/search+string ?
# Dec 18th 2017, 12:43 dariolap Hi all, in 3.5 version, ajax ctp template are not localized in template/ajax but only in template. How can I keep them in the old path?
# Dec 18th 2017, 12:31 neon1024 Yes, seems it is, or the docblock claims that it is ;)
# Dec 18th 2017, 12:29 neon1024 Anyone know if the CakePHP UUID is compliant with RFC4122
# Dec 18th 2017, 12:15 neon1024 You add your provider to the Validator with a key and then use that key
# Dec 18th 2017, 12:14 neon1024 https://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
# Dec 18th 2017, 11:49 joop 'provider'=>'..........' ?
# Dec 18th 2017, 11:49 joop how should i call it in a model
# Dec 18th 2017, 11:48 joop if i placed my costume validation rule to src\ORM\Rule directory
# Dec 18th 2017, 11:48 makallio85 it has its downsides, but certainly some benefits also.
# Dec 18th 2017, 11:48 rafael.junqueira.sant @admad Here are all the steps I took: https://pastebin.com/8v7wC81X Is there any other information I can provide? Was it intended to function with the steps I took?
# Dec 18th 2017, 11:48 makallio85 No. Like I said, it is too much to do for now. And I dont not sign, that it is bad design.
# Dec 18th 2017, 11:46 hmic so the reationale for keeping bad design is that you did it already
# Dec 18th 2017, 11:46 makallio85 or did you mean clustering, not sure
# Dec 18th 2017, 11:45 hmic *lol*
# Dec 18th 2017, 11:45 makallio85 Yes i have read abóut it, but it is not the possibility here as it would be too much to refactor now.
# Dec 18th 2017, 11:45 makallio85 But how do i set it back to connectionregistry with connectionmanager
# Dec 18th 2017, 11:44 hmic and yes, you can change the tablename in a table object, sure. Table::setTable() does
# Dec 18th 2017, 11:43 hmic you do know that mysql can handle the shards itself, yes you do
# Dec 18th 2017, 11:43 makallio85 My first question was, wouldnt it be reasonable to allow table to be switched in connection object somehow without creating new connection object
# Dec 18th 2017, 11:42 makallio85 and I need to switch table name in that connection
# Dec 18th 2017, 11:42 makallio85 I have 1 connection "shard" in cake
# Dec 18th 2017, 11:42 makallio85 And i have dynamic amount of shards
# Dec 18th 2017, 11:42 makallio85 I have sharded database design
# Dec 18th 2017, 11:41 hmic why you do that again?
# Dec 18th 2017, 11:41 hmic makallio85, yes if you create new connections that is what you end up with
# Dec 18th 2017, 11:35 makallio85 so there is no way to provide connection object to it and that is the reason i end up getting multiplied connection objects when altering table name