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 Spryker Guys Do anyone have idea about the error like as shown in the attached screenshot, Thank

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

Hi Spryker Guys
Do anyone have idea about the error like as shown in the attached screenshot, Thank you

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 โš–๏ธ - Guardians (admin)

    Hey, my first guess is that something with your navigation xml is wrong (config/Zed/navigation.xml) and/or you have a different merge strategy than the demoshops (src/Pyz/Zed/ZedNavigation/ZedNavigationConfig.php) and this is producing some exception.

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

    Than you Florian for information
    We don't have ZedNavigation in src/Pyz directory, it is located at vendor/spryker directory
    is this the impact/ cause of the error?

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 โš–๏ธ - Guardians (admin)

    No, if you do not have the ZedNavigation module it does not need to be the reasons (but still can). Since version 202009.0 there should be that module in the demoshops. Maybe you updated some parts of the shop and forgot others.

    If you do not have the ZedNavigationConfig on project level you likely have the core default setting which is getMergeStrategy() -> FULL_MERGE_STRATEGY which will look for all navigation files in the modules. Likely one of them could be buggy.

    try to use the strategy BREADCRUMB_MERGE_STRATEGY to find if this solves your problem.

    I guess there is on โ€œnavigation.xmlโ€ somewhere in your project or in vendor folder not aligned with the keys requested from your screenshot (right side)

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

    Yes, I am in the upgrade process, for Milestone1 (version 202009.0),
    Following Jarvis feature view report for features upgrade, have upgraded 6 features listed for the Milestone1 (Product Labels
    Product Relations
    Quotation Process
    Customer Account Management
    Merchant
    Packaging units),
    The navigation.xml is located at (config/zed/navigation.xml)

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

    After changing to BREADCRUMB_MERGE_STRATEGY, it shows undefined index for bundle, PFA screenshot

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

    and navigation xml contains

    <category>
        <label>Category</label>
        <title>Category</title>
        <bundle>category-gui</bundle>
        <controller>list</controller>
        <action>index</action>
        <order>0</order>
        <shortcut>c</shortcut>
        <icon>fa-sitemap</icon>
    </category>
    <cms-gui/>
    <glossary/>
    <product>
        <pages>
            <AvailabilityGui/>
            <products/>
            <attributes/>
            <product-barcode/>
            <product-label-gui/>
            <product-list/>
            <product_options/>
            <product_relations/>
            <reviews/>
            <sets/>
            <configurable-bundle-templates/>
        </pages>
    </product>
    <search-and-filters/>
    <discount/>
    <navigation/>
    
  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 โš–๏ธ - Guardians (admin)

    Strange - but still seems to be something not in sync between navigation business logic and navigation.xml files. I can not help you more without deeper debugging. Please get a Spryker expert to assist you with your migration task.

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

    All right @florian.scholz, will check and once get any will share with you
    Thank you so much for your help