Log message #4123166

# At Username Text
# Mar 8th 2018, 15:34 birdy247 rapido
# Mar 8th 2018, 15:34 birdy247 wow
# Mar 8th 2018, 15:34 savant just released 3.8.0
# Mar 8th 2018, 15:33 savant oo you’re right
# Mar 8th 2018, 15:33 savant THEN WHO WAS PHONE
# Mar 8th 2018, 15:32 birdy247 Then wheres it gone wrong?
# Mar 8th 2018, 15:32 birdy247 and composer install is good
# Mar 8th 2018, 15:32 savant thats not whats in 3.7 of the plugin
# Mar 8th 2018, 15:32 birdy247 My lock file says 3.7
# Mar 8th 2018, 15:31 savant yeah thats not 3.7 of the plugin
# Mar 8th 2018, 15:31 birdy247 File uploaded https://cakesf.slack.com/files/U0T295QA3/F9MJ3C3HU/-.php / https://slack-files.com/T053DPNCM-F9MJ3C3HU-267a269373
# Mar 8th 2018, 15:31 savant not just the parts you thought I might find interesting
# Mar 8th 2018, 15:31 savant the whole file
# Mar 8th 2018, 15:31 birdy247 but surley this will only ever have 2 args?
# Mar 8th 2018, 15:30 birdy247 I just dumped out $this->data and $this->settings
# Mar 8th 2018, 15:30 birdy247 File uploaded https://cakesf.slack.com/files/U0T295QA3/F9L69GA9F/-.php / https://slack-files.com/T053DPNCM-F9L69GA9F-2defc74943
# Mar 8th 2018, 15:28 savant can you gist the contents of `/home/vagrant/Apps/clubtrac.local/vendor/josegonzalez/cakephp-upload/src/File/Path/Filename/DefaultTrait.php `
# Mar 8th 2018, 15:27 savant oh wow we are
# Mar 8th 2018, 15:27 savant the plugin is 3.7?
# Mar 8th 2018, 15:27 birdy247 3.7
# Mar 8th 2018, 15:26 savant or rather you’re on an older version of the plugin
# Mar 8th 2018, 15:26 savant seems like you need more arguments.
# Mar 8th 2018, 15:25 birdy247 Too few arguments to function App\Model\Table\TenantConfigurationsTable::App\Model\Table\{closure}(), 2 passed in /home/vagrant/Apps/clubtrac.local/vendor/josegonzalez/cakephp-upload/src/File/Path/Filename/DefaultTrait.php on line 19 and exactly 5 expected
# Mar 8th 2018, 15:25 savant is that the whole exception
# Mar 8th 2018, 15:24 birdy247 Filename/DefaultTrait.php on line 19 and exactly 5 expected
# Mar 8th 2018, 15:24 birdy247 but i get an exception
# Mar 8th 2018, 15:24 birdy247 I am trying the nameCallback
# Mar 8th 2018, 15:24 savant nice
# Mar 8th 2018, 15:24 birdy247 I am using your upload plugin :+1:
# Mar 8th 2018, 15:24 savant hi
# Mar 8th 2018, 15:24 birdy247 Hey @savant
# Mar 8th 2018, 13:50 jkpatel291289 @dakota you are right thanks..
# Mar 8th 2018, 13:46 dakota @jkpatel291289 That is pretty much right. Just add in a check that the `loadingmemolrdetails` key actually exists (Otherwise if somebody forgets to load it, it’ll thrown an error)
# Mar 8th 2018, 13:32 jkpatel291289 is it right way.. its working though..
# Mar 8th 2018, 13:32 jkpatel291289 i came up with this https://gist.github.com/jaynarayan89/e9a3ac7deacf2d3fea84dacbe8cc9a70
# Mar 8th 2018, 13:29 joshualuckers @jkpatel291289 maybe this is what you are looking for: https://book.cakephp.org/3.0/en/orm/query-builder.html#adding-calculated-fields
# Mar 8th 2018, 12:45 jkpatel291289 how to create virtual property in table using associations? I have a loadingmemo tabel with many lorryreceipts . lorryreceipts have weight. i want to add virtual property in loading memo table wich return total weight of all lr.
# Mar 8th 2018, 12:45 steinkel there is a basic cakephp recipe you can tweak a bit and get atomic deployments
# Mar 8th 2018, 12:43 neon1024 Nice @steinkel I’ll have to check that one out, I haven’t heard of it
# Mar 8th 2018, 12:34 steinkel for deployment, we've been using https://github.com/deployphp/deployer for some time and works good
# Mar 8th 2018, 12:00 neon1024 Now we are moving over to Ansible though, so we should be able to weave that into the playbook somewhere I’d think