cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wrong parameter passed from smartedit for previewwebservice

0 Likes
270

Hi All,

We have enabled the smart edit for our custom spartacus store front. It works fine with banner changes and all. But whenever a preview call is happening, it is sending wrong parameters for content catalog version in the request headers.

URL : https://localhost:9002/previewwebservices/v1/preview

If you see the parameter under catalogVersions, catalog is passed as just "ContentCatalog" and catalogVersion is passed as SS. Ideally catalog should be ContentCatalog_SS_APAC and catalogVersion should be Staged. Anybody knows what is causing this issue?

{ "siteDescriptor": { "contentCatalogs": [ "ContentCatalog_SS_APAC" ], "name": { "en": "Spartacus SS APAC Site" }, "previewUrl": "https://localhost:9002", "uid": "ssApac" }, "catalogDescriptor": { "catalogId": "ContentCatalog_SS_APAC", "catalogVersion": "Staged", "catalogVersionUuid": "ContentCatalog_SS_APAC/Staged", "name": { "en": "SS APAC Content Catalog" }, "siteId": "ssApac", "active": false }, "languageDescriptor": { "active": true, "isocode": "en", "name": "English", "nativeName": "English", "required": true }, "time": "2020-12-04T08:43:00+0000", "productCatalogVersions": [ "ProductCatalog_SS_APAC/Online" ], "language": "en", "previewCatalog": "ssApac_ContentCatalog_SS_APAC_Staged", "resourcePath": "https://localhost:9002", "catalogVersions": [ { "catalogVersion": "Online", "catalog": "ProductCatalog_SS_APAC" }, { "catalog": "ContentCatalog", "catalogVersion": "SS" } ], "siteId": "ssApac" }

Accepted Solutions (0)

Answers (0)