Log message #4192129

# At Username Text
# Jul 5th 2019, 20:57 mrfeedback k nevermind. im using an anonymus function
# Jul 5th 2019, 20:42 mrfeedback is there a way to use a specific function of a related model when using contain in the parent model? something like this `$this->find()->contain(['ModelB' => 'useFunctionFromModelB']);`
# Jul 5th 2019, 19:42 inoas nite
# Jul 5th 2019, 19:28 em. @ndm was trying to fix their cakephp-adapter.
# Jul 5th 2019, 19:24 em. Yes like: https://github.com/php-http/curl-client/blob/master/src/Client.php#L254
# Jul 5th 2019, 19:16 ndm @em. It sure looks like a possible bug, as the valid values are `1` (v1.1), `2` (v1.2) and `3` (v2). Other values might cause the request to fail, or produce unexpected versions AFAIK. The string `1.1` seems to cause v1 to be used.
# Jul 5th 2019, 19:02 ndm @devito It's generally compatible, yes.
# Jul 5th 2019, 19:00 em. thx, i will. not sure yet
# Jul 5th 2019, 18:59 ndm @em. You can open an issue or push a PR with a fix over at https://github.com/cakephp/cakephp
# Jul 5th 2019, 18:54 devito hello all, does cake 3.6+ / 4 support mysql 8? Or are there plans to support 8?
# Jul 5th 2019, 18:40 em. I think i found a bug in Cake Curl Adapter. https://api.cakephp.org/3.8/source-class-Cake.Http.Client.Adapter.Curl.html#75 CURLOPT_HTTP_VERSION must set to 1 or 2. Not 1.0 or 1.1.
# Jul 5th 2019, 17:47 olanowsubomi please, can one use inline cascading for cakephp since im having problem with the external sheet cascading?
# Jul 5th 2019, 17:12 olanowsubomi ok thanks
# Jul 5th 2019, 16:52 ndm Looks like their invitation app is haiving some technical diffculties currently... you'll have to wait a little I guess
# Jul 5th 2019, 16:47 olanowsubomi when i tried the link i got this ' Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail'
# Jul 5th 2019, 16:36 ndm https://bootstrap-slack.herokuapp.com
# Jul 5th 2019, 16:31 olanowsubomi please, how can i get to the bootstrap slack channel?
# Jul 5th 2019, 16:26 olanowsubomi thanks
# Jul 5th 2019, 16:25 rochasmarcelo @joey.mukherjee [ 'route' => ['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'profile', 'prefix' => false],
# Jul 5th 2019, 16:23 ndm @olanowsubomi Yeah, that doesn't look CakePHP related at all, that's something you should ask over at the bootstrap slack channel. Anyways, make sure that you are actually including your CSS, there's non in your HTML code, and `<link>` tags points to `test`, which I guess should probably be `test.css`.
# Jul 5th 2019, 16:22 rochasmarcelo The issues seems to be with config Users.Profile.route
# Jul 5th 2019, 16:18 joey.mukherjee @rochasmarcelo Here's what I get: ```A route matching "array ( 'plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'profile', 'prefix' => 'admin', '_ext' => NULL, )" could not be found. ``` Hmm, its not letting me post the stack trace since it is too large.
# Jul 5th 2019, 16:14 olanowsubomi #headerbar{border:1px solid #ffffff;}
# Jul 5th 2019, 16:13 olanowsubomi then my css
# Jul 5th 2019, 16:12 slackebot src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container-fluid"> <div class="row"> <div class="col-md-6" id="headerbar">header bar</div> <div class="col-md-6">Logo</div> <div class="col-md-6"><h1>myapp</h1></div> </div> </div>
# Jul 5th 2019, 16:12 slackebot !DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>myapp</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="test" rel="stylesheet"> <script src="jquery.js"></script> ... <!--[if lt IE 9]> <script
# Jul 5th 2019, 16:12 slackebot Command sent from Slack by olanowsubomi:
# Jul 5th 2019, 16:11 olanowsubomi i will show the files to you
# Jul 5th 2019, 16:11 olanowsubomi ok
# Jul 5th 2019, 16:09 ndm @olanowsubomi That doesn't really sounds as if it's CakePHP related...? You should probably just show an example, it's hard to tell what exactly your problem is.
# Jul 5th 2019, 16:07 slackebot since we can move everything into application rules if we want to, I guess it's fine.
# Jul 5th 2019, 16:07 ndm @ionas Well, you could probably call it an edge case I guess. The current behavior has it's pros and cons, and the lines blur here and there, but IMHO tables should be responsible for providing the contract that defines what's valid, and when it's the table that actually creates/updates the entity, ie via `newEntity()` or `patchEntity()`, then it's IMHO fine that the table supplies the rules. But surely there's also arguments against that, but
# Jul 5th 2019, 15:58 slackebot respond to the css code. i can show you both file at your request, i would appreciate your consideration. thanks
# Jul 5th 2019, 15:58 olanowsubomi hello, please can someone help me out with using css on bootstrap, im only used to inline cascading for html but i think it simplier to use external css for bootstrap but im not sure if it giving me problem because it bootstrap html or it just because i did not apply it rightly . both the css file and html is stored in the same directory in my flash drive but i want my ' headerbar' div to show border and change colour but the html wont
# Jul 5th 2019, 15:46 inoas IMHO the table should only know about primary keys, foreign keys, indexes and constraints
# Jul 5th 2019, 15:46 inoas but then validate in the table...
# Jul 5th 2019, 15:46 inoas the split is often confusing where you transform data with mutators and accessors
# Jul 5th 2019, 15:46 inoas now if a database adapter needs to convert json to text or can take binary json tahts another thing
# Jul 5th 2019, 15:45 inoas the stateless stuff belongs all into the entity, as does how it converts (abstract)
# Jul 5th 2019, 15:45 inoas just business rules (stateful) do
# Jul 5th 2019, 15:45 inoas well I dont think validation belongs into the table class