Log message #4213799

# At Username Text
# Nov 18th 2019, 09:20 neon1024 Thirty seconds?
# Nov 18th 2019, 09:20 slackebot <neon1024>
# Nov 18th 2019, 09:19 neon1024 Not sure why that matters
# Nov 18th 2019, 09:19 conehead Or does it just perform a normal compile? Takes around 30 seconds every time
# Nov 18th 2019, 09:19 conehead Ah cool. Is this "fast"?
# Nov 18th 2019, 09:18 neon1024 @conehead Yeah webpack supports the ‘watch’ parameter to auto-compile changes
# Nov 18th 2019, 09:18 mrfeedback @admad thx! Will do :slightly_smiling_face:
# Nov 18th 2019, 09:18 javier.villanueva but same problem :(
# Nov 18th 2019, 09:18 javier.villanueva @admad, ok I use now: ``` WWW_ROOT . 'img' . DS .'logo_company.png' ```
# Nov 18th 2019, 09:16 slackebot app. Did you find a good way to solve this problem? Currently I just import vue and use several js files that I import without compiling at all
# Nov 18th 2019, 09:16 conehead hey @neon1024 I read through your slides about vue and cakephp. Was a cool shot read, wish I could have seen the talk itself. Was just wondering if you were able to `serve ` the app within a normal cake app. Something like "live compile" to the webroot folder. My problem was/is that I only got a single page in my whole cake application that uses vue. Whenever I did changes to the vue code, I had to build it manually to test it within my cake
# Nov 18th 2019, 09:15 admad @mrfeedback in a utility class
# Nov 18th 2019, 09:14 admad You need to use file paths, not url
# Nov 18th 2019, 09:13 javier.villanueva I am trying to show an image in Emails. ``` $email->setAttachments(['logo_company.png' => [ 'file' => Configure::read('App.imageBaseUrl').'logo_company.png', 'mimetype' => 'image/png', 'contentId' => 'logo_company' ] ``` And in layout ``` src="cid:logo_company" ``` Image exits, but is not shown. Any idea?
# Nov 18th 2019, 09:12 mrfeedback if i want to have a piece of reusable code (in my case to generate jpgs from pdf files) where is the best practice place to put such a logic? I dont think that a behavior is the correct place. as this would make several entities out of one source entity, or what do you think?
# Nov 18th 2019, 08:54 slackebot !markstory
# Nov 18th 2019, 08:54 slackebot Command sent from Slack by pieceof:
# Nov 18th 2019, 08:54 pieceof mark had nothing to do with it
# Nov 18th 2019, 08:52 admad top of da moin to ye sir!
# Nov 18th 2019, 08:52 neon1024 Morning all
# Nov 18th 2019, 08:52 slackebot !tells
# Nov 18th 2019, 08:52 slackebot Command sent from Slack by admad:
# Nov 18th 2019, 08:34 slackebot !tias
# Nov 18th 2019, 08:34 slackebot Command sent from Slack by challgren:
# Nov 18th 2019, 08:02 slackebot1 !help
# Nov 18th 2019, 08:02 slackebot1 Command sent from Slack by kgb.acct.personal:
# Nov 18th 2019, 07:58 slackebot1 !feature
# Nov 18th 2019, 07:58 slackebot1 Command sent from Slack by pieceof:
# Nov 18th 2019, 07:58 slackebot1 !bug
# Nov 18th 2019, 07:58 slackebot1 Command sent from Slack by pieceof:
# Nov 18th 2019, 07:41 javier.villanueva morning all
# Nov 18th 2019, 07:02 conehead Oh and anyone still using phpstan? Was just wondering...I already had that error, but now that I wanted to run it again... My `TableFindByPropertyMethodReflection` class is not compatible with `MethodReflection`. Noone else got this error when running it? CakePHP version `3.8.6` and phpstan version `0.11.19`
# Nov 18th 2019, 06:56 slackebot1 <conehead>
# Nov 18th 2019, 06:53 conehead Alright. You might want to chain the commands. Might make it a look a little bit smoother
# Nov 18th 2019, 06:52 francisdoydora I used 2 where lines instead of between
# Nov 18th 2019, 06:51 slackebot1 $query->where(['ComponentCutoffs.max >= ' => $params['value']]); $query->where(['ComponentCutoffs.min <= ' => $params['value']]); $query = $query->first(); $cutoffDescription = $query->description; return $cutoffDescription; }```
# Nov 18th 2019, 06:51 francisdoydora I got it to work using these lines ```public function fetchComponentCutoffDescription($params = null) { $query = TableRegistry::getTableLocator()->get('ComponentCutoffs'); $query = $query->find(); $query->select([ 'ComponentCutoffs.description', ]); $query->where(['ComponentCutoffs.test_type_component_id =' => $params['test_type_component_id']]);
# Nov 18th 2019, 06:08 conehead And are the min and max fields doubles? or integers?
# Nov 18th 2019, 06:06 conehead There a reason why you don't to it via CakePHP?
# Nov 18th 2019, 05:18 slackebot1 'ComponentCutoffs.min' AND 'ComponentCutoffs.max')```
# Nov 18th 2019, 05:18 francisdoydora may I ask why this returns and error ```2019-11-18 13:17:04] [22007][1292] Truncated incorrect DOUBLE value: 'ComponentCutoffs.min' [2019-11-18 13:17:04] [22007][1292] Truncated incorrect DOUBLE value: 'ComponentCutoffs.max'``` when I run this sql query? ```SELECT ComponentCutoffs.description AS `ComponentCutoffs__description` FROM component_cutoffs ComponentCutoffs WHERE (ComponentCutoffs.test_type_component_id = '1' AND 430 BETWEEN