Log message #4172668

# At Username Text
# Jan 8th 2019, 16:35 jhall ok thanks @ricksaccous
# Jan 8th 2019, 16:35 challgren Or ignore pattern kind of like phpstan
# Jan 8th 2019, 16:35 ricksaccous that should work
# Jan 8th 2019, 16:35 ricksaccous @jhall yeah it's just <?= $this->fetch("content") ?>
# Jan 8th 2019, 16:35 challgren Well if its an instance of Table then whitelist
# Jan 8th 2019, 16:35 dereuromark having a whitelist of some sort?
# Jan 8th 2019, 16:35 dereuromark yeah just dont use -r for this IMO. what would you recommend to do? except for adding ! everywhere?
# Jan 8th 2019, 16:34 challgren @dereuromark I only ran -r cause I’m doing a refactor and have a bunch of annotations everywhere
# Jan 8th 2019, 16:34 ricksaccous you don't have a sampel layoout? lol
# Jan 8th 2019, 16:34 jhall ok
# Jan 8th 2019, 16:33 jhall so can I <?= $this->fetch('content') ?> do this?
# Jan 8th 2019, 16:33 ricksaccous also i think it might be just content, heh
# Jan 8th 2019, 16:32 challgren wkhtmltopdf ftw
# Jan 8th 2019, 16:32 ricksaccous lol
# Jan 8th 2019, 16:32 ricksaccous use wkhtmltopdf, makes your life easier mang
# Jan 8th 2019, 16:32 jhall I am using an HTML to PDF library and I want to send the contents of a template to an AJAX call but I am unclear of what variable the content for a template resides? Is it just $content?
# Jan 8th 2019, 16:32 slackebot <challgren>
# Jan 8th 2019, 16:30 challgren Yeah thats what I figured out but in my BuildingUses table it does remove the above methods
# Jan 8th 2019, 16:29 dereuromark better to have one more than one less
# Jan 8th 2019, 16:29 dereuromark or dont run it with -r :slightly_smiling_face: not needed anyway usually to do so
# Jan 8th 2019, 16:28 dereuromark if you wanna keep them just add ! as comment - as documented
# Jan 8th 2019, 16:14 challgren Since I never use those directly in the Table class
# Jan 8th 2019, 15:52 slackebot $options = []) *```
# Jan 8th 2019, 15:52 slackebot \App\Model\Entity\EnergyFixtureOption|bool saveOrFail(\Cake\Datasource\EntityInterface $entity, $options = []) * @method \App\Model\Entity\EnergyFixtureOption patchEntity(\Cake\Datasource\EntityInterface $entity, array $data, array $options = []) * @method \App\Model\Entity\EnergyFixtureOption[] patchEntities($entities, array $data, array $options = []) * @method \App\Model\Entity\EnergyFixtureOption findOrCreate($search, callable $callback = null,
# Jan 8th 2019, 15:52 challgren Then wouldn’t it remove ``` * @method \App\Model\Entity\EnergyFixtureOption get($primaryKey, $options = []) * @method \App\Model\Entity\EnergyFixtureOption newEntity($data = null, array $options = []) * @method \App\Model\Entity\EnergyFixtureOption[] newEntities(array $data, array $options = []) * @method \App\Model\Entity\EnergyFixtureOption|bool save(\Cake\Datasource\EntityInterface $entity, $options = []) * @method
# Jan 8th 2019, 15:52 challgren Ohh well that would be why
# Jan 8th 2019, 15:51 dereuromark it must be used inside the class its annotated on : $this->myMethod( etc
# Jan 8th 2019, 15:51 challgren Yeah in a QueueTask
# Jan 8th 2019, 15:51 dereuromark the current dev-master contains the fix to not remove if used.
# Jan 8th 2019, 15:50 dereuromark is it used?
# Jan 8th 2019, 15:29 slackebot <challgren>
# Jan 8th 2019, 15:28 challgren Nope still removing
# Jan 8th 2019, 15:26 dereuromark see changelog. nie find
# Jan 8th 2019, 15:26 challgren Ok I’ll “upgrade”
# Jan 8th 2019, 15:26 dereuromark @challgren check dev-master, I added some fixes here :slightly_smiling_face:
# Jan 8th 2019, 15:24 cnizzardini I'd at least like to get the actual exception class name so we can display better messages to end users.
# Jan 8th 2019, 15:23 cnizzardini ( [message] => An Internal Error Has Occurred. [url] => /publisher/v3.0/book/preview.json [code] => 500 )
# Jan 8th 2019, 15:23 cnizzardini Is there a way to get better error messages out of Cake 3.5 when debug is set to false. Exceptions from our api return this to our client:
# Jan 8th 2019, 15:22 challgren And I do use the importCsv function inside a QueueTask
# Jan 8th 2019, 15:19 slackebot \App\Model\Entity\BuildingUse|bool saveOrFail(\Cake\Datasource\EntityInterface $entity, $options = []) * @method \App\Model\Entity\BuildingUse patchEntity(\Cake\Datasource\EntityInterface $entity, array $data, array $options = []) * @method \App\Model\Entity\BuildingUse[] patchEntities($entities, array $data, array $options = []) * @method \App\Model\Entity\BuildingUse findOrCreate($search, callable $callback = null, $options = [])```
# Jan 8th 2019, 15:19 challgren And then on my other plain Table it removes ``` * @method \App\Model\Entity\BuildingUse get($primaryKey, $options = []) * @method \App\Model\Entity\BuildingUse newEntity($data = null, array $options = []) * @method \App\Model\Entity\BuildingUse[] newEntities(array $data, array $options = []) * @method \App\Model\Entity\BuildingUse|bool save(\Cake\Datasource\EntityInterface $entity, $options = []) * @method