rough-scientist-68683
10/21/2021, 6:06 AMPHP Notice: Undefined index: engine in /data/index.php on line 975
PHP Fatal error: Uncaught Twig\Error\LoaderError: Template "service//default/.yml.twig" is not defined in "docker-compose.yml.twig" at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98
Stack trace:
#0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('service//defaul...')
#1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('service//defaul...')
#2 /data/vendor/twig/twig/src/Template.php(335): Twig\Environment->loadTemplate('service//defaul...', NULL)
#3 /data/vendor/twig/twig/src/Environment.php(418) : eval()'d code(367): Twig\Template->loadTemplate('service//defaul...', 'docker-compose....', 146)
#4 /data/vendor/twig/twig/src/Template.php(407): __TwigTemplate_b72e048a581fa4cde6cefce1e9be0db97cfbb5e96deaf0767d366e5d92d01218->doDisplay(Array, Array)
#5 /data/vendor/twig/twig/src/Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array)
#6 /data/vendor/twig/twig/src/Template.php(392): Twig\Template->display(Array)
#7 /data/vend in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
I wonder why he's complaining about the index "engine" although I didn't add that.
Here's what I added to my deploy.yml:
tideways:
apikey: 123456abcdefg
environment-name: development
cli-enabled: false
lemon-magazine-17731
10/21/2021, 6:38 AMpurple-forest-91115
10/21/2021, 12:11 PMacceptable-florist-74304
10/21/2021, 1:12 PMWarning: Neither SSH agent or COMPOSER_AUTH is configured. Private repositories would not be accessible.
while running sdk up command (using windows) what should I do to resolve that?acceptable-florist-74304
10/22/2021, 10:47 AMThe process "vendor/bin/console transfer:generate" exceeded the timeout of 600 seconds.
while running sdk up command. Is there a possibility to change that value of timeout?acceptable-florist-74304
10/22/2021, 10:48 AMwide-car-19280
10/22/2021, 12:35 PMCommand propel-build [vendor/bin/console propel:model:build]
Build Propel2 classes
Propel\Generator\Exception\BehaviorNotFoundException - Exception: Unknown behavior "synchronization". You may try running `composer update` or passing the `--composer-dir` option.
in /data/vendor/propel/propel/src/Propel/Generator/Util/BehaviorLocator.php (178)
Command: vendor/bin/console propel:model:build
Trace:
#0 /data/vendor/propel/propel/src/Propel/Generator/Model/BehaviorableTrait.php(88): Propel\Generator\Util\BehaviorLocator->getBehavior('synchronization')
#1 /data/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php(324): Propel\Generator\Model\Table->addBehavior(Array)
lemon-magazine-17731
10/25/2021, 7:10 AMlemon-magazine-17731
10/25/2021, 12:28 PMechoing-action-91797
10/25/2021, 1:20 PMPropel::getConnection()
?
I tried exec('\d+ table_name');
but it’s not working (it says syntax error).
I tried also using this query, but the output is not the columns but metadata that I am not really interested…
SELECT *
FROM information_schema.columns
WHERE table_schema = 'public'
AND table_name = 'table_name';
I would like to get the column names from a given table in a specific schema using a Propel connection. Does anyone has other ideas or if this is possible? 🤔
Thanks in advance!magnificent-pager-79488
10/25/2021, 1:55 PMlemon-magazine-17731
10/26/2021, 3:24 PMpolite-lunch-97479
10/26/2021, 3:33 PMcrooked-addition-36054
10/27/2021, 9:02 AMmysterious-king-59256
10/27/2021, 12:44 PMCustomer
tests with mail renderer ([LogicException] Unable to register extension "translator" as extensions have already been initialized.
). Do you know why it trows exception with default b2c test suite?lemon-magazine-17731
10/28/2021, 7:24 AMcolossal-alligator-85110
10/28/2021, 11:14 AMdry-minister-26533
10/28/2021, 12:24 PMmysterious-king-59256
10/29/2021, 12:28 PMancient-apartment-59274
11/01/2021, 10:07 AM{
"listenerClassName": "Spryker\\Zed\\ProductImageStorage\\Communication\\Plugin\\Event\\Listener\\ProductAbstractImageStorageUnpublishListener",
"transferClassName": "Generated\\Shared\\Transfer\\EventEntityTransfer",
"transferData": {
"id": 12573,
"event": "Entity.spy_product_image.delete",
"name": "spy_product_image",
"foreign_keys": [],
"modified_columns": [],
"original_values": [],
"additional_values": []
},
"eventName": "Entity.spy_product_image.delete"
}
Looking at the corresponding listener that should proceed the message, we find the following logic
public function handleBulk(array $eventEntityTransfers, $eventName)
{
$this->preventTransaction();
$productImageIds = $this->getFactory()->getEventBehaviorFacade()->getEventTransferIds($eventEntityTransfers);
$productAbstractIds = $this->getQueryContainer()->queryProductAbstractIdsByProductImageIds($productImageIds)->find()->getData();
$this->getFacade()->unpublishProductAbstractImages($productAbstractIds);
}
We are wondering if this can really work for the delete event as implemented in the EventSubscriber
protected function addProductAbstractImageDeleteStorageListener(EventCollectionInterface $eventCollection)
{
$eventCollection->addListenerQueued(ProductImageEvents::ENTITY_SPY_PRODUCT_IMAGE_DELETE, new ProductAbstractImageStorageUnpublishListener(), 0, null, $this->getConfig()->getProductImageAbstractEventQueueName());
}
The problem: In case of delete, the retrieval of the product abstract ids will not work since it was already deleted from the database at this point. The method will return no result and therefore no delete for storage will follow. For unpublish (the entity still exists) it will work. But for delete at least in our opinion it will not work or do we miss something?
Best regardsgentle-architect-75453
11/02/2021, 1:32 PMacceptable-waitress-80115
11/02/2021, 2:42 PMadamant-oil-10501
11/02/2021, 8:19 PMancient-apartment-59274
11/03/2021, 6:45 PMclean-painter-47981
11/05/2021, 7:22 AMmysterious-ambulance-11183
11/05/2021, 8:10 AMkind-vegetable-16151
11/05/2021, 12:53 PMhundreds-flower-81270
11/05/2021, 1:09 PMgorgeous-optician-66846
11/05/2021, 3:58 PMearly-art-81990
11/09/2021, 12:11 PMfrontend:yves:build
is throwing an error:
ERROR in /app/vendor/spryker-shop/cart-page/src/SprykerShop/Yves/CartPage/Theme/default/components/molecules/cart-items-list/cart-items-list.ts(5,22)
TS2515: Non-abstract class 'CartItemsList' does not implement inherited abstract member 'readyCallback' from class 'Component'.
The CartItemsList extends the abstract class Component but the readyCallback() was replaced with init() which results in that error. Am I missing something? The components.ts hasnt changed -> https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/models/component.ts so to me it looks like a bug. thanks in advance.