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..

Hi Guys, after updating spryker packages to latest versions, I cannot generate transfer:databuilder

Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi Guys, after updating spryker packages to latest versions, I cannot generate transfer:databuilder successfully. It seems that something is wrong with Shipment type but cannot find the cause. Any suggestions?

Welcome!

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

Comments

  • care to share a bit more? why do you think it’s the shipment? how does that databuilder look for you?

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    I have tracked getGeneratorRules method, which fails when trying to instantiate Shipment transfer object

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    This one fails

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    do you have
    <property name="requestedDeliveryDate" type="string" /> in your <transfer name="Shipment"> ?

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    in addition to that, have you re-generated transfer objects first (just to be sure) ?

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    I have that property inside vendor/spryker/tax/tests/_data/tax.databuilder.xml

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UN3B09WJK okay, don’t you have it any where else in the project?

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    no

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    got it. Which version of the spryker/shipment and spryker/tax do you have?

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    the missing property should be in shipment module, I would recommend to update it.

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    ➜ www composer show spryker/shipment
    name : spryker/shipment
    descrip. : Shipment module
    keywords :
    versions : * 6.10.0

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    ➜ www composer show spryker/tax
    name : spryker/tax
    descrip. : Tax module
    keywords :
    versions : * 5.8.4

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    both are up to date, except I didn’t want to bring shipment to 7

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    but will try that also

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    right, the actual shipment version is 7.0.0..

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    then it requires to update spryker/sales and a lot of dependent packages… trying to avoid such huge update

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    but your tax is up to date. Might be an issue in Spryker module dependencies, I’ll check

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    thank you

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UN3B09WJK as a quick solution, you can try to add
    <property name="requestedDeliveryDate" type="string" /> to your shipment

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    to extend that transfer to project level=?

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    but this is not a 100% stable solution - what if you’re missing something else..

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet
  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    anyway shipment is not used in our implementation, it is there only due to dependencies

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    I will try

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UKJSE6T47 it works when I put type as string… Will see how will the system behave now

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    thanks a lot

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    you’re welcome πŸ‘

  • Posts: 58 πŸ§‘πŸ»β€πŸš€ - Cadet

    When issuing command setup:install, it argues about β€œThere is no command defined with the name β€œtransfer:entity:generate”. Make sure the command was registered properly.” I have updated all related packages to latest version (setup, install, propel…)

  • Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UN3B09WJK I think this issue deserves separate message/thread in the channel πŸ™‚

Welcome!

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