Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commerce Catalog Fails to import on Linux OS #965

Open
nptomlin opened this issue Apr 19, 2024 · 0 comments
Open

Commerce Catalog Fails to import on Linux OS #965

nptomlin opened this issue Apr 19, 2024 · 0 comments

Comments

@nptomlin
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant