What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

cannot run `oms:check-condition` with parameters, it works just fine without them, but once I run `o

Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

cannot run oms:check-condition with parameters, it works just fine without them, but once I run oms:check-condition --limit=1 or oms:check-condition --store-name=AT Im getting

Propel\Runtime\Exception\PropelException - Exception: Error populating \Orm\Zed\Sales\Persistence\SpySalesOrderItem object 

did anyone encounter similar problem?

Welcome!

It looks like you're new here. Sign in or register to get started.
ยซ1

Comments

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    oms:check-condition --store-name=AT should be APPLICATION_STORE=AT console oms:check-condition I believe.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    APPLICATION_STORE=AT vendor/bin/console oms:check-condition --store-name=AT same thing, Error populating \Orm\Zed\Sales\Persistence\SpySalesOrderItem

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    Shouldn't it be just APPLICATION_STORE=AT vendor/bin/console oms:check-condition and not APPLICATION_STORE=AT vendor/bin/console oms:check-condition --store-name=AT?

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    I think you are focusing on wrong aspect of this, --limit option also causes this issue

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    Latest spryker-shop/suite works without problems.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    are you certain that orders are processed there? because I can run this for NL store, that has no orders, and don't get any exception

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    Let me experiment a bit more then. ๐Ÿ™‚

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    I have no project with a real PSP integrated, but with dummy payment it still works ok.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Ive managed to find out what causes this issue

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Error parsing date/time value: '6589a069-1ad5-547d-ae24-66b9f3bc3a56'

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    for some reason spy_sales_order_item uuid gets passed to updated_at

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    could this be caused by table column order?

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    I've noticed that in my table product_offer_reference, remuneration_amount and uuid columns come after created_at and updated_at

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    I'm not a propel expert but IMO shouldn't be.
    Who is the PSP? Is it Spryker's integration from spryker-eco namespace?

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    exception is thrown before conditionsa re checked

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    when getting sales order items from db

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    so it's spryker/oms that's causing this

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    I'll try to clarify internally.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    no plugin is executed

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    well, if you want to know my guess is that querySalesOrderItemsByProcessIdStateIdsAndQueryCriteria method of OmsQueryContainer is most likely the culprit or at least involved

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    since it is called only if you provide limit or store name

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    I've posted this thread internally and will provide any feedback I'll get.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    ok, thanks

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    @valerii.trots hey, is there any news on this issue?

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    As promised, will post any feedback but there was no so far. Will remind about it one more time.

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    sure, thanks for the update

  • Grow&Scale with Spryker Sprykee Posts: 1 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Hi @valerii.trots! Do you have feedback? Does it make sense to raise a support ticket for this?

  • SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    Unfortunately neither original question nor follow up one got any feedback internally.
    Either the support ticket needs to be created but it will get into our queue, or solution architects need to be involved. IDK to be honest.
    Maybe @tom.lehner will have ideas later today when he will start working around 14:00.

  • Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    @U01G4K5E0J2 hi, and sorry that this dragging on for quite a bit and it seems like we need to go the bureaucratic way to get you help here. Can i ask you to create a case for us for this with steps necessary to reproduce this problem? Also, please let us know in the ticket what business impact this problem has for you and by when you will need it solved to prevent it becoming a blocker

  • Posts: 194 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    @U01JZE2ELCF @tom.lehner I've created a case ID: 00002257

Welcome!

It looks like you're new here. Sign in or register to get started.