rich-camera-19306
01/27/2020, 8:52 AMStore: DE | Environment: devtest
Install Project dependencies
[info]
> node-sass@4.10.0 install /data/node_modules/@spryker/oryx-for-zed/node_modules/node-sass
> node scripts/install.js
[info] Downloading binary from <https://github.com/sass/node-sass/releases/download/v4.10.0/linux_musl-x64-72_binding.node>
[info] Cannot download "<https://github.com/sass/node-sass/releases/download/v4.10.0/linux_musl-x64-72_binding.node>":
HTTP error 404 Not Found
Anyone had this?rich-camera-19306
01/27/2020, 8:53 AM@spryker/oryx-for-zed
requires it.silly-motherboard-93855
01/27/2020, 10:13 AM- Installing spryker/spryker (dev-master 4983870): Cloning 49838708a8
[RuntimeException]
Failed to execute git clone --no-checkout 'https://***:*<mailto:**@github.com|**@github.com>/spryker/spryker.git' '/dat
a/shop/development/current/vendor/spryker/spryker' && cd '/data/shop/development/current/vendor/
spryker/spryker' && git remote add composer 'https://***:*<mailto:**@github.com|**@github.com>/spryker/spryker.git' &&
git fetch composer
Cloning into '/data/shop/development/current/vendor/spryker/spryker'...
remote: Repository not found.
fatal: repository 'https://***:*<mailto:**@github.com|**@github.com>/spryker/spryker.git/' not found
was that repository removed?ancient-apartment-59274
01/27/2020, 1:11 PMaloof-electrician-43662
01/28/2020, 10:42 AMvagrant@vm-b2c-demo-shop ➜ current git:(operation-new-products) ✗ composer require spryker/product-api
1/10: <http://repo.packagist.org/p/provider-2020-01$aff0193cae09496aac56564ab0f8a74e6d354935f27495e95f2c9222aeaa0916.json>
2/10: <http://repo.packagist.org/p/provider-latest$c985b49991005d603f943404b7312ef0dcd5744956a8764c856bdc866e9cbdcd.json>
3/10: <http://repo.packagist.org/p/provider-2019$621a7d57352137169920fc496aadfae7ef3d77e6d0ac1593c4c60d402d66d215.json>
4/10: <http://repo.packagist.org/p/provider-2019-04$99a139393edd93b34895875515d5c37b59a474343f543d8abdf5e439b3709112.json>
5/10: <http://repo.packagist.org/p/provider-2019-10$2fb50572e5670496467a44e2b2df36793f0d0df010125c3615cad99ade11b5ff.json>
6/10: <http://repo.packagist.org/p/provider-2015$24b1e51a03ba26d11c22a65895f50230b431cb760d5737d99ffb1258ed71fd17.json>
7/10: <http://repo.packagist.org/p/provider-2017$6176f0a07fdcfd1c9feae84adc9cd16c77b68c3d00f7e756642aa716c98ecdd8.json>
8/10: <http://repo.packagist.org/p/provider-2019-07$6a2eacef2b237e2c2a0f551a73ef72702572c0510379383e338fe92e357c34fa.json>
9/10: <http://repo.packagist.org/p/provider-2016$da85204da998c57690d51a8efef67714c75be5a6725de45c2dbeb13b6e4638a5.json>
10/10: <http://repo.packagist.org/p/provider-2018$b2122a7e48ee0440fabba732a9aeb3e3806c252203e16d82fec54f02c68dd63c.json>
Finished: success: 10, skipped: 0, failure: 0, total: 10
Using version ^0.1.4 for spryker/product-api
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84
Check <https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors> for more info on how to handle out of memory errors.%
green-honey-45300
01/28/2020, 10:42 AMaloof-electrician-43662
01/28/2020, 10:43 AMgreen-honey-45300
01/28/2020, 10:43 AMphp -d memory_limit=-1 /usr/local/bin/composer ...
thousands-account-91562
01/28/2020, 10:44 AMCOMPOSER_MEMORY_LIMIT=-1 composer ...
green-honey-45300
01/28/2020, 10:45 AMloud-rose-8406
01/28/2020, 12:44 PMacoustic-motherboard-16553
01/28/2020, 2:21 PMspryker/product-management 0.19.4
An error has occurred resolving the options of the form "Symfony\Component\Form\Extension\Core\Type\TextareaType": The option "sanitize_xss" does not exist. Defined options are: "action", "allow_extra_fields", "allow_file_upload", "attr", "attr_translation_parameters", "auto_initialize", "block_name", "block_prefix", "by_reference", "compound", "constraints", "csrf_field_name", "csrf_message", "csrf_protection", "csrf_token_id", "csrf_token_manager", "data", "data_class", "disabled", "empty_data", "error_bubbling", "error_mapping", "extra_fields_message", "help", "help_attr", "help_html", "help_translation_parameters", "inherit_data", "invalid_message", "invalid_message_parameters", "label", "label_attr", "label_format", "label_translation_parameters", "mapped", "method", "post_max_size_message", "property_path", "required", "row_attr", "translation_domain", "trim", "upload_max_size_message", "validation_groups".
Is it an known error since sanitize_xss was added 18 days ago or maybe I have some other package missing?aloof-electrician-43662
01/28/2020, 2:40 PMfull-rocket-52349
01/28/2020, 4:11 PMancient-apartment-59274
01/28/2020, 4:34 PM{
"data": {
"type": "checkout-data",
"attributes": {
"idCart": "c317c11b-a342-53ce-8831-63189dc02122",
"customer": {
"email": "<mailto:bl@lol.de|bl@lol.de>",
"salutation": "Ms",
"firstName": "bla",
"lastName": "bla"
},
"billingAddress": {
"salutation": "Ms",
"firstName": "bla",
"lastName": "bla",
"address1": "sdsdsds 1",
"address2": "sdsdsds 1",
"address3": "sdsdsds 1",
"zipCode": "12345",
"city": "dfdfd",
"iso2Code": "DE",
"company": "sdsd",
"phone": "123454",
"isDefaultBilling": true,
"isDefaultShipping": true
},
"shippingAddress": {
"salutation": "Ms",
"firstName": "bla",
"lastName": "bla",
"address1": "sdsdsds 1",
"address2": "sdsdsds 1",
"address3": "sdsdsds 1",
"zipCode": "12345",
"city": "dfdfd",
"iso2Code": "DE",
"company": "sdsd",
"phone": "123454",
"isDefaultBilling": true,
"isDefaultShipping": true
},
"payments":
[
{
"paymentMethodName": "invoice",
"paymentProviderName": "DummyPayment"
}
]
}
}
}
As you can see, we don’t provide any shipment methods in the first step, because we don’t know which one will be allowed for us.
For deciding wether if a shipping method is allowed or not, we wrote for every shipment method a plugin that implements
ShipmentMethodAvailabilityCheckerInterface
Somewhere in its business logic, we check for the shipping address which is unfortunately now per item base in
$item->getShipment()->getShippingAddress()->getIso2Code()
But getShipment() is null because we never provide a shipment method on the glue request like this
"shipment": {
"idShipmentMethod": 1
}
But we need the address of it which (in my opinion) shouldn’t stick to the provided shipment data.
So now we are in a kind of deadlock 🤔 We want to get all shipping methods that are allowed based on the address, but we have no address because we don’t provide any shipment which is mandatory for providing the address in the plugin.
Before it was quite easy because the shipping address wasn’t dependent on the provided shipping method. But this method
$quoteTransfer->getShippingAddress()
seems outdated …
Any ideas?aloof-electrician-43662
01/29/2020, 10:07 AMacoustic-motherboard-16553
01/29/2020, 12:13 PM"spryker-sdk/spryk": "^0.2.3",
"spryker-sdk/spryk-gui": "^0.1.5",
is there something else to do as adding the 3 console commands to the consoledependencyprovider? Because I am getting
Spryker Kernel Exception Can not resolve GraphController for your bundle "SprykGui" You can fix this by adding the missing Controller to your bundle.
acoustic-businessperson-27970
01/29/2020, 2:11 PMaloof-electrician-43662
01/30/2020, 8:46 AMancient-apartment-59274
01/30/2020, 2:08 PMbest-keyboard-11166
02/03/2020, 2:14 PMancient-apartment-59274
02/03/2020, 2:51 PMmysterious-king-59256
02/04/2020, 8:24 AMconsole event:trigger
and console sync:data
, but with “prod” DB, event:trigger
fails in many events and frontend has missing data. Do you know how can I change locale and keep old data?clean-glass-99425
02/04/2020, 10:06 AMfierce-battery-19636
02/04/2020, 11:56 AMdamp-wolf-78050
02/06/2020, 8:44 AMmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
I think it might be due to a webpack configuration issue which leads to the chunks being imported incorrectly or in the wrong order.
Can anyone help me with this issue?
Thanks in advance 🙂acoustic-motherboard-16553
02/06/2020, 11:18 AMsilly-motherboard-93855
02/06/2020, 2:39 PMdata
column
and
spy_product_localized_attributes attributes
column?
running
select * from spy_product_concrete_storage where fk_product=19079 and locale='en_GB';
and its equivalent
select * from spy_product_localized_attributes where fk_product=19079 and fk_locale=46
and it looks like the storage contains pretty much the copy of the atributes in it's data as well. What's the purpose for that storage table in that case?
or maybe the better question would be: should I update both tables if I decide to update the product ? or one will sync into the other via internal spryker logic?glamorous-quill-49387
02/06/2020, 3:27 PMsparse-kangaroo-34355
02/06/2020, 3:28 PMMerchantRelationshipTransfer
. Do I need to create a
MerchantRelationshipCollectionTransfer()
(*Collection*Transfer doesn't exist yet) or is it possible to solve it "easier"?