rhythmic-musician-70059
12/10/2019, 10:27 PMsquare-chef-44370
12/11/2019, 8:50 AM$orderEntity
with the address from the company business unit. How can I achieve that? How to get the address of the company businesst unit from the orderEntity?
Any help is appreciated and code examples would be awesome.crooked-house-89121
12/11/2019, 3:07 PMancient-apartment-59274
12/11/2019, 5:17 PMError: Call to undefined method Generated\Shared\Transfer\QuoteTransfer::getName() in file /data/shop/development/current/vendor/spryker/carts-rest-api/src/Spryker/Zed/CartsRestApi/Business/Quote/Mapper/QuoteMapper.php on line 47
I tried to search for this property “name” in all possible quote transfer xml but it doesn’t appear in any module or any transfer xml file … how can i find out, where or when this property was ever used?
It looks like dependencies are not proper but the composer update worked and modules seems to be installed correctly. So it’s a bit curious to me … any ideas?
Thanks a lot!silly-motherboard-93855
12/12/2019, 11:41 AMspryker-eco
vendor on packagist? Is there a way Spryker can add us to it?rhythmic-musician-70059
12/13/2019, 9:04 AMsilly-motherboard-93855
12/13/2019, 10:03 AMancient-apartment-59274
12/13/2019, 10:10 AM...
RestCartsRequestAttributes:
properties:
priceMode:
type: string
currency:
type: string
store:
type: string
discounts:
items:
$ref: '#/components/schemas/RestCartsDiscountsTransfer'
...
However, after import this leads in Postman to
{
"data": {
"type": "<string>",
"attributes": {
"priceMode": "<string>",
"currency": "<string>",
"store": "<string>",
"discounts": "schema type not provided"
}
}
}
As you can see, the discounts should be displayed as an array, an error/fault string occurred instead. It seems that the generator does omit the type if it is an array of objects. It should be more
RestCartsRequestAttributes:
properties:
priceMode:
type: string
currency:
type: string
store:
type: string
discounts:
type: array
items:
$ref: '#/components/schemas/RestCartsDiscountsTransfer'
And then it works correctly
{
"data": {
"type": "<string>",
"attributes": {
"priceMode": "<string>",
"currency": "<string>",
"store": "<string>",
"discounts": [
{
"displayName": "<string>",
"amount": "<integer>",
"code": "<string>"
},
{
"displayName": "<string>",
"amount": "<integer>",
"code": "<string>"
}
]
}
}
}
Is this a known issue? Best regardswooden-king-30682
12/16/2019, 8:21 AMsparse-kangaroo-34355
12/16/2019, 3:04 PMgetCompanyBusinessUnits
in project/src/Orm/Zed/Company/Persistence/Base/SpyCompany.php : 2142. Don't know how to take use of this.rich-camera-19306
12/17/2019, 11:25 AM/var/www/node_modules/@spryker/oryx/lib/build.js:26
let duration = moment(stats.endTime - stats.startTime).format('s.SS');
^
TypeError: Cannot read property 'endTime' of undefined
at build.webpack (/var/www/node_modules/@spryker/oryx/lib/build.js:26:41)
at finalCallback (/var/www/node_modules/@spryker/oryx-for-zed/node_modules/webpack/lib/Compiler.js:210:39)
at emitAssets.err (/var/www/node_modules/@spryker/oryx-for-zed/node_modules/webpack/lib/Compiler.js:232:21)
at asyncLib.forEach.err (/var/www/node_modules/@spryker/oryx-for-zed/node_modules/webpack/lib/Compiler.js:352:22)
at /var/www/node_modules/neo-async/async.js:2830:7
at /var/www/node_modules/neo-async/async.js:2830:7
at done (/var/www/node_modules/neo-async/async.js:2863:11)
at /var/www/node_modules/neo-async/async.js:2818:7
at fs.open (fs.js:1174:7)
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
best-keyboard-11166
12/17/2019, 1:20 PMmany-island-21253
12/18/2019, 8:44 AMdocument.querySelector('#button_sorting').click();
(I use GhostInspector, but just consider that being an abstraction layer).
My problem with Spryker is now, that many form elements like dropdowns seem to get “randomized changing“ attributes on each reload, for example:
<li class="select2-results__option select2-results__option--highlighted" id="select2-ipp-r1-result-8c4s-12" role="option" aria-selected="true" data-select2-id="select2-ipp-r1-result-8c4s-12">
12
</li>
…when I reload the page “id“ will change from “something-8c4s
-something" to another 4-letter-combination, also data-select2-id, and also this happens on the parent select
of an option
. This happens to the “real“ elements like select/option
and also the themed ones like ul/li
or custom-select.
This makes writing a selector very, very difficult, also making my code break easy, because I have to work with soft patterns like contains *-select-*
1. What is the intention behind this behaviour?
2. Can we just “configure that away“.
3. Is there some documentation how to deal with it, and what's best practice to querySelect elements?rapid-diamond-82606
12/18/2019, 8:57 AMsparse-fall-78248
12/18/2019, 10:20 AMsrc/Orm/Zed/Store/Persistence/Base
and src/Orm/Zed/Store/Persistence/Map
magically come from? It doesn't seem to correspond with a simple Composer Install.
The base folder src/Orm/Zed/Store/Persistence/
exists in the repository, but the two subfolders don't.
Thank you!steep-receptionist-20341
12/18/2019, 11:37 AMStay Up-to-Date with the New Features
First of all, make sure you do not miss our two-weekly release mail newsletter (subscribe to them and be well informed). Staying up-to-date with the improvements and the new features will help you to understand what releases will bring business value to your company.I’m a bit disappointed. I have been subscribed for quite a few months now but have never seen one of these two-weekly release mails. Is “composer outdated” really the only way?
sparse-kangaroo-34355
12/19/2019, 10:31 AMnew
, because we export new orders as xml for our own system anyway.
Another way would be passing new orders to the next (2nd) state (new
-> confirmed
and adding an event in this transision). So, a question on this would be (too): how could I trigger this? There is no onEnter=true
neither since there's no event 🤔rhythmic-microphone-10950
12/19/2019, 1:23 PMLoading composer repositories with package information
Updating dependencies (including require-dev)
/usr/local/bin/execute.sh: line 7: 6 Killed bash -c "${COMMAND}"
glamorous-quill-49387
12/19/2019, 1:48 PMsilly-motherboard-93855
12/19/2019, 4:42 PMoriginUnitNetPrice
and sourceUnitNetPrice
?silly-motherboard-93855
12/20/2019, 9:52 AMBOTH
but this is nowhere given in
https://github.com/spryker/price/blob/master/src/Spryker/Shared/Price/PriceMode.phpsilly-motherboard-93855
12/23/2019, 10:32 AMfwrite(): send of 8192 bytes failed with errno=110 Connection timed out
lately. Is there a process that explains how to set this up correctly? Only some jobs seem to fail with this error.
event-trigger-timeout
and product-relation-updater
specificallyfierce-battery-19636
12/30/2019, 4:47 PMroot@ce2cc6a1857b:/data/shop/development/current# vendor/bin/codecept run -f -vvv -c tests/PyzTest/Glue/AlternativeProducts/
Throwing this error:
AbstractAlternativeProductsRestApiCest: Request abstract alternative products
Test RestApi/AbstractAlternativeProductsRestApiCest.php:requestAbstractAlternativeProducts
Step See response code is 200
Fail Expected HTTP Status Code: 200 (OK). Actual Status Code: 404 (Not Found) with the response "{"errors":[{"status":404,"detail":"Not Found"}]}"
Failed asserting that 404 matches expected 200.```
This test is trying to GET a product via GLUE (concrete product 2057340392). This product exists in spy_product, but is not in spy_product_concrete_storage database - maybe thats the reason for failing test.
root@ce2cc6a1857b:/data/shop/development/current# vendor/bin/codecept fixtures -vvv
is throwing 5 errors
i.e.
Glue/Carts/RestApi/Fixtures/CartsRestApiFixtures.php:buildFixtures -> Return value of PyzTest\Glue\Carts\RestApi\Fixtures\CartsRestApiFixtures::createPersistentQuote() must be an instance of Generated\Shared\Transfer\QuoteTransfer, null returned
We like to know if tests inside https://github.com/spryker-shop/suite are executed and running? Thanks!fast-hairdresser-14597
01/03/2020, 11:53 AMsparse-kangaroo-34355
01/06/2020, 1:20 PMacoustic-businessperson-27970
01/07/2020, 9:19 AMPUT <http://rmqhost:15672/api/vhosts/vhost_name>
resulted in a 401 Unauthorized
response:
{“error”“not authorised”,“reason”“Not management user”}
Have anyone encountered something similar? and how to fix it?
Thank you very muchlittle-kitchen-79455
01/07/2020, 4:35 PMlittle-kitchen-79455
01/07/2020, 4:36 PMsilly-motherboard-93855
01/08/2020, 9:36 AMTTL
command on a redis key?best-keyboard-11166
01/08/2020, 2:25 PM