Log message #4213730

# At Username Text
# Nov 17th 2019, 11:44 slackebot1 Cake\ORM\Behavior\TimestampBehavior->handleEvent(Object(Cake\Event\Event), Object(App\Model\Entity\Projectfile), Object(ArrayObject)) #3 /vendor/cakephp/cakephp/src/Event/EventManager.php(330): Cake\Event\EventManager->_callListener(Array, Object(Cake\Event\Event)) ```
# Nov 17th 2019, 11:44 mrfeedback ``` 2019-11-17 11:43:36 Error: [Error] Call to a member function getSchemaCollection() on null #0 /vendor/cakephp/cakephp/src/ORM/Behavior/TimestampBehavior.php(203): Cake\ORM\Table->getSchema() #1 /vendor/cakephp/cakephp/src/ORM/Behavior/TimestampBehavior.php(111): Cake\ORM\Behavior\TimestampBehavior->_updateField(Object(App\Model\Entity\Projectfile), 'created', true) #2 /vendor/cakephp/cakephp/src/Event/EventManager.php(353):
# Nov 17th 2019, 11:42 challgren weird
# Nov 17th 2019, 11:41 mrfeedback ah timestamp behaviour. could it be that it has a problem when a field is named "created" and has in mysql default value "CURRENT_TIMESTAMP" ?
# Nov 17th 2019, 11:40 challgren Yeah weird, but follow the stacktrace
# Nov 17th 2019, 11:40 mrfeedback hmm
# Nov 17th 2019, 11:40 mrfeedback very strange
# Nov 17th 2019, 11:40 mrfeedback whaat
# Nov 17th 2019, 11:40 mrfeedback 2019-11-17 11:39:57 Error: [Error] Call to a member function getSchemaCollection() on null
# Nov 17th 2019, 11:39 challgren Could try `$this->save($newFile, ['atomic' => false']);`
# Nov 17th 2019, 11:38 challgren So my guess is its failing to getConnection() on the table
# Nov 17th 2019, 11:38 challgren https://github.com/cakephp/cakephp/blob/3.7.9/src/ORM/Table.php#L1638
# Nov 17th 2019, 11:37 mrfeedback oh. sorry 3.7.9
# Nov 17th 2019, 11:37 challgren .?
# Nov 17th 2019, 11:37 mrfeedback 3.8
# Nov 17th 2019, 11:37 challgren What version of cake?
# Nov 17th 2019, 11:36 mrfeedback its in $this->Projecftfiles->uploadFile but it doesn´t do any db stuff before that peace of code
# Nov 17th 2019, 11:35 mrfeedback nope. or at least i wouldnt be aware of
# Nov 17th 2019, 11:34 challgren Is this wrapped in a transactional block?
# Nov 17th 2019, 11:34 slackebot1 env('AWS_S3_PREFIX').$remoteFilePathForSave.DS.$generatedFileName; return $this->save($newFile); ```
# Nov 17th 2019, 11:34 mrfeedback ``` $newFile = $this->newEntity(); $remoteFilePathForSave = (!is_null($remotePathFile))? $remotePathFile : ''; $newFile->originalfile = $originalFile; $newFile->name = $originalFilename; $newFile->filename = $originalFilename; $newFile->filesize = $fileSize; $newFile->s3bucket = (!is_null($remoteBucket)) ? $remoteBucket : env('AWS_S3_BUCKET'); $newFile->s3key =
# Nov 17th 2019, 11:33 challgren Above that, the one that has transactional()
# Nov 17th 2019, 11:33 mrfeedback `return $this->save($newFile);`
# Nov 17th 2019, 11:33 challgren Whats line 319?
# Nov 17th 2019, 11:32 mrfeedback im trying to save an entity within the ModelTableClass
# Nov 17th 2019, 11:32 mrfeedback ``` Error: [Error] Call to a member function transactional() on null vendor/cakephp/cakephp/src/ORM/Table.php(1926): Cake\ORM\Table->_executeTransaction(Object(Closure), true) src/Model/Table/ProjectfilesTable.php(319): Cake\ORM\Table->save(Object(App\Model\Entity\Projectfile)) ``` any Idea why I get this error? I am bit confused
# Nov 17th 2019, 10:18 challgren https://book.cakephp.org/3/en/orm/deleting-data.html#Cake\ORM\Table::delete
# Nov 17th 2019, 08:36 delete_issue ??
# Nov 17th 2019, 07:27 delete_issue Error: Call to a member function isNew() on integer
# Nov 17th 2019, 07:26 delete_issue but delet is not working
# Nov 17th 2019, 07:26 delete_issue successfully got primary id .
# Nov 17th 2019, 07:26 delete_issue $id = \Cake\ORM\TableRegistry::get('Ft.AdminDocs')
# Nov 17th 2019, 07:26 delete_issue ?
# Nov 17th 2019, 07:26 delete_issue why this code is not working
# Nov 16th 2019, 13:11 luizcmarin I am sure that to launch RC1 everyone involved had to make a great effort. And to meet the challenges ahead, much work will be required from everyone. Many will benefit from your work, so I would like to congratulate and thank you all for your efforts. Congratulations and thanks, thank you very much.
# Nov 16th 2019, 12:08 vipul @savant i talk about socket.io, for chatting
# Nov 16th 2019, 11:04 savant @vipul what do you mean by “socket”
# Nov 16th 2019, 09:53 vipul any idea for this
# Nov 16th 2019, 09:53 vipul Hello, any idea about socket? i want to integrate in cakePHP
# Nov 16th 2019, 09:47 challgren Yeah
# Nov 16th 2019, 09:41 shifat.it if guard is unnecessary here right??