Skip to content

Commerce Catalog Fails to import on Linux OS #965

Description

@nptomlin

Describe the bug

Commerce Catalog Fails to import on Linux OS due to the casing of the zip file Foundation_Fashion.zip in the App_Data folder being different to the casing in the code in src/Foundation/Infrastructure/ContentInstaller.cs

            if (File.Exists(Path.Combine(_webHostEnvironment.ContentRootPath, "App_Data", "foundation_fashion.zip")))
            {
                CreateCatalog(new FileStream(Path.Combine(_webHostEnvironment.ContentRootPath, "App_Data", "foundation_fashion.zip"), FileMode.Open),
                    Path.Combine(_webHostEnvironment.ContentRootPath, "App_Data", "foundation_fashion.zip"));
            }

To Reproduce

  • Follow the setup instructions for linux
  • Navigate to the site log in and see that there is no catalog

Expected behavior
Commerce Fashion catalog content to be imported.

Desktop (please complete the following information):

  • OS Linux
  • Browser Firefox
  • Version 123.0.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions