Skip to content
Snippets Groups Projects
Commit c46176bc authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #3266025 by yas: Hotfix - Fix an error: Object of class...

Issue #3266025 by yas: Hotfix - Fix an error: Object of class Aws\Api\DateTimeResult could not be converted to int in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::castValue()
parent 04193cb2
Branches
4 merge requests!1316Issue #3310263: Release 4.5.0,!1260Issue #3307397: Release 4.4.0,!804Issue #3272190: Release 4.1.0,!700Issue #3266025: Fix an error: Object of class Aws\Api\DateTimeResult could not be converted to int in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::castValue()
......@@ -7,7 +7,6 @@ services:
depends: memcached
commands:
init: |
cat /etc/issue
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt-get update && apt-get install -y gcc g++ make nodejs yarnpkg zlib1g \
libfreetype6-dev libjpeg-dev libmemcached-dev libpng-dev libzip-dev
......
......@@ -234,7 +234,7 @@ class VolumeCreateForm extends AwsCloudContentForm {
return;
}
if(!($entity->setVolumeId($result['VolumeId'])
if (!($entity->setVolumeId($result['VolumeId'])
&& $entity->setCreated(strtotime($result['CreateTime']))
&& $entity->setState($result['State'])
&& $entity->setSnapshotName($this->getSnapshotName($entity->getCloudContext(), $entity->getSnapshotId(), $this->getModuleName($entity)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment