You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Hi @pavanarya , thank you for pointing that out. Yes, I am able to see similar behavior but that's not affecting the seeding of the CatalogItem table as it's fetching the information from GetPreconfiguredItems() method.
Could you please submit a new PR with the proposed changes ? Please refer comment
After getting the latest from this project, when I am trying to run we are getting an error when seeding Catalog database
Exception: does not contain required header picturefilename
Root cause:
In the file src\Services\Catalog\Catalog.API\Infrastructure\CatalogContextSeed.cs
In-Line 184
string[] requiredHeaders = { "catalogtypename", "catalogbrandname", "description", "name", "price", "pictureFileName" }; string[] optionalheaders = { "availablestock", "restockthreshold", "maxstockthreshold", "onreorder" }; csvheaders = GetHeaders(csvFileCatalogItems, requiredHeaders, optionalheaders );
For required headers, we are passing "pictureFileName" but in GetHeaders() when reading csv headers, we are reading headers as lowercase.
Thanks,
Pavan Kumar Aryasomayajulu
The text was updated successfully, but these errors were encountered: