Skip to Content
0
Former Member
Jun 20, 2018 at 01:10 PM

Removing urlEncodingAttributes values breaks page (hybris)

384 Views

I copied powertoolsinitialdata and made it my store after changing names.

Now i can go to localhost my site and see powertools products.

In site.impex , there is a part:

 # CMS Site
 INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);urlPatterns;active;previewURL;startingPage(uid,$contentCV);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=mysitePromoGrp]
 ;$siteUid;lambda;B2B;$storeUid;$contentCatalog;$productCatalog;$defaultLanguage;(?s).*;true;$storefrontContextRoot/?site=$siteUid;homepage;storefront,language,currency;

This is default from powertools.

So i have to go to

https://localhost:9002/mysite/en/USD/

instead of only localhost.

For it, i deleted the those parameters.

and made site.impex like this

 # CMS Site
 INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);urlPatterns;active;previewURL;startingPage(uid,$contentCV);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=mysitePromoGrp]
 ;$siteUid;lambda;B2B;$storeUid;$contentCatalog;$productCatalog;$defaultLanguage;(?s).*;true;$storefrontContextRoot/?site=$siteUid;homepage;;;

I deleted only last 3 parameters

 storefront,language,currency;

which are urlencodinggatrributes.

Then i again made ant initialize (also i tried importing from console).

After clearing cache or going inconite, i see such a bottom of powertools

https://pasteboard.co/HqKOciV.png

Why is that? Why bottom of websiter is not proper? I want to remove those parameters. Should i remove from also somewhere else?

I dont want to do via wcms or adding another impex like

  INSERT_UPDATE CMSSite;uid[unique=true];urlEncodingAttributes

I could not fin any solution for that wish.