Log message #4214166

# At Username Text
# Nov 19th 2019, 14:25 shifat.it I am still working with 3.3 and I was told to migrate to 3.8
# Nov 19th 2019, 14:25 pieceof its a conspiracy (tinfoil hat)
# Nov 19th 2019, 14:24 pieceof pros will hate
# Nov 19th 2019, 14:24 pieceof now they can read code easier
# Nov 19th 2019, 14:24 pieceof its for noobs man
# Nov 19th 2019, 14:24 shifat.it why method separated with get set methods ? Someone please tell me about problems and benefits regarding this issue.
# Nov 19th 2019, 14:21 shifat.it Hello from your link its not clear to me , why they did this.
# Nov 19th 2019, 14:18 shifat.it methods create side effects? ? can you explain this line
# Nov 19th 2019, 14:15 neon1024 Here you are @shifat.it https://github.com/cakephp/cakephp/issues/9978
# Nov 19th 2019, 14:12 shifat.it okay.. I will get back to you after seeing roadmap
# Nov 19th 2019, 14:12 neon1024 You can find out more in the pull request I’m sure, or on the roadmap
# Nov 19th 2019, 14:12 neon1024 Because multi mode methods create side effects, have an unclear api and are harder to understand when reading code
# Nov 19th 2019, 14:12 shifat.it Is there any reason??
# Nov 19th 2019, 14:11 shifat.it why ??
# Nov 19th 2019, 14:11 shifat.it why we are using $request->data; to $request->getData()
# Nov 19th 2019, 14:11 neon1024 The change was made across the framework
# Nov 19th 2019, 14:11 neon1024 Multi-mode methods were deprecated
# Nov 19th 2019, 14:11 shifat.it $this->setTable('my_table'); // Prior to 3.4.0 $this->table('my_table');
# Nov 19th 2019, 14:10 shifat.it why the following code changed?
# Nov 19th 2019, 14:09 shifat.it One question to ask
# Nov 19th 2019, 14:09 shifat.it Hello
# Nov 19th 2019, 14:01 cubetto when i run the sql that comes from debugging the query, it works fine, for some reason cake just doesn't execute it
# Nov 19th 2019, 14:00 cubetto i need to increment a value in a column of 5 different rows, so i'm trying with $this->query()->update()->set(['field'] => $expression)->where(['user_id'=>$id])->execute();
# Nov 19th 2019, 13:58 cubetto Hi, i'm working on a cake 3.4.7 project, trying to write an updateAll query and can't get it to execute, if I use updateAll i just get 0 modified rows, if i use $this->query() ->update() i can see the query is propery produced but it states executed=false
# Nov 19th 2019, 13:44 slackebot !
# Nov 19th 2019, 13:44 slackebot Command sent from Slack by jotpe:
# Nov 19th 2019, 13:36 mocelle It works!
# Nov 19th 2019, 13:35 mocelle Done!
# Nov 19th 2019, 13:34 mocelle Array
# Nov 19th 2019, 13:34 frank @mocelle I think ndm is right, is $data an array or a json_encoded string?
# Nov 19th 2019, 13:20 mocelle I habe mi idea
# Nov 19th 2019, 13:19 mocelle If I use dump($this->access_token) in Postman is alles Ok.
# Nov 19th 2019, 13:18 slackebot $ex->getMessage()); }
# Nov 19th 2019, 13:18 mocelle $headers = [ 'headers' => [ 'Content-Type' => 'application/json', 'Cache-Control' => 'no-cache', 'Accept' => 'application/json', 'Authorization' => 'Bearer ' .$this->access_token, ], ]; $client = new Client(); $url = $this->host . $path; try { $response = $client->post($url, $data, $headers); } catch (\Exception $ex) { throw new Exception("Error" .
# Nov 19th 2019, 13:07 rsteenge How to change the date formats before saving in cakephp 3? In cakephp 2 it could be done in the appModel beforesave
# Nov 19th 2019, 13:06 mocelle :white_frowning_face:
# Nov 19th 2019, 13:06 mocelle I take api token from restapi and using cakephp 3.3
# Nov 19th 2019, 12:28 ndm 415 indicates that possibly the content that you're sending doesn't match the content type that you're indicating. But again, more details would help. Where is that code located? What are you doing with it? Where are you adding the data and what does it look like?
# Nov 19th 2019, 12:23 pieceof try 'Authorization' => 'Authorization: Bearer xfxfgxdfg'
# Nov 19th 2019, 12:19 mocelle And i retrive 415 status code
# Nov 19th 2019, 12:19 slackebot <mocelle>