hybris

How to change the site uid in hybris

醉酒当歌 提交于 2019-12-24 14:45:28
问题 I am trying to change my site uid(mangou-uk to mg-uk) in hybris. I changed in hmc but getting 400 error when I click on homepage category links and also in some other pages. What are the steps to follow to change site uid in hybris. Can anyone help me on this please. 回答1: Have you also changed the below properties in your local.properties file? media.mangou-uk.http=http://localhost:9001/ media.mangou-uk.https=https://localhost:9002/ website.mangou-uk.http=http://localhost:9001/ website.mangou

hybris synchronization - No accessor found for attribute

有些话、适合烂在心里 提交于 2019-12-24 12:58:19
问题 Hybris version: 5.0.3.7 I copied data folder from other developer to setup my local hybris environment. When I tried to synchronize the synchronization failed with errors. I'm new to hybris and I have no clue about environment setup errors. No accessor found for attribute 'navigationNodeList' of type 'de.hybris.platform.cms2.jalo.pages.ContentPage'. It seems that this attribute was removed from items.xml. If this was intended please remove the related attribute descriptor manually, for

Hybris : How to import media which is in the zip file in impex?

瘦欲@ 提交于 2019-12-24 11:31:25
问题 I know we can import images which are not zipped like this $siteResource=jar:com.project.initialdata.constants.ProjectInitialDataConstants&/projectinitialdata/import/sampledata/images/brand INSERT_UPDATE Media ; code[unique=true] ; mediaFormat(qualifier) ; realfilename ; @media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator] ; mime[default='image/jpeg'] ; catalogVersion(catalog(id),version)[unique=true,allownull=true] ; logo-molinard.jpg ; ; Molinard_logo.jpg ;

Redefining data type in items.xml in Hybris

僤鯓⒐⒋嵵緔 提交于 2019-12-24 08:58:55
问题 I had a datatype defined as follows in items.xml: <attribute qualifier="daysOfWeek" type="java.lang.String"> <persistence type="property" /> </attribute> To modify the data type to enumeration,I redefined it as follows: <enumtype code="DaysOfWeek" autocreate="true" generate="true"> <value code="Monday" /> <value code="Tuesday" /> </enumtype> <attribute qualifier="daysOfWeek" type="DaysOfWeek"> <persistence type="property" /> </attribute> After updating the extension,I am getting SQLException

How to sort with a “nested” filter in Hybris Solr

耗尽温柔 提交于 2019-12-24 03:05:54
问题 Relationed to this post How to add Hybris Solr By for Boolean value I need to add a kind of "nested filter": when I filter with my boolean atribute isNewProduct , inside this sort , I want to sort by relevance (number indexed property) for example : I have this products: Product A : isNewProduct = true , relevance = 100; Product B : isNewProduct = false , relevance = 50; Product C : isNewProduct = true , relevance = 300; Product D : isNewProduct = false , relevance = 40; When I filter by

Error webpage unavailable in Hybris HMC/MCC webpage unavailable after successful login in HMC/MCC

。_饼干妹妹 提交于 2019-12-24 01:54:11
问题 I am able to get HMC/MCC login screen but when I login it says Webpage unavailable. My Hybris version is 6.2 My localextension.xml files looks like below : <extension dir="C:\Hybris620\hybris\bin/custom/training/trainingfulfilmentprocess"/> <extension dir="C:\Hybris620\hybris\bin/custom/training/trainingcore"/> <extension dir="C:\Hybris620\hybris\bin/custom/training/traininginitialdata"/> <extension dir="C:\Hybris620\hybris\bin/custom/training/trainingfacades"/> <extension dir="C:\Hybris620

JSP / Controller not found for custom component in Hybris addon

匆匆过客 提交于 2019-12-24 00:55:27
问题 I’m running Hybris 6.6 and are building a new addon, that is basically a controller and corresponding JSP. During runtime however, Hybris isn’t finding the controller bean and searches for JSP in the storefront folder (it’s not there, since the JSP is in the storefront addon folder). I created the addon using extgen, and then installed it in the storefront using also ant. Steps: Created component in -items.xml inheriting from SimpleCMSComponent Created controller inheriting from

Difficulties with installation script for hybris 5.6.02

有些话、适合烂在心里 提交于 2019-12-24 00:21:53
问题 The installation script reports a Build failure... mlittle-mbook1:~ mlittle$ pwd /Users/mlittle mlittle-mbook1:~ mlittle$ cd hybris/bin/platform mlittle-mbook1:platform mlittle$ ls -a . .project build.number global.properties project.properties setantenv.sh tomcat .. .settings build.xml hybrisserver.bat resources tcServer .classpath adminserver.bat env.properties hybrisserver.sh roles.bat tenant_foo.properties .externalToolBuilders adminserver.sh ext lib roles.sh tenant_junit.properties

Multi country site in Hybris

早过忘川 提交于 2019-12-23 02:52:35
问题 I have a site in my Hybris project having a URL pattern like: localhost:9002/en-uk Where the storefront context root was also kept as en-uk in mystorefront project.properties file. How do I extend this for other countries and create a new site for my new country.I tried changing the existing site impex and changing the URL there but it did not yield anything. Should I change the storefront context root in mystorefront project.properties file as highlighted above? 回答1: If you have single

Some Hybris first time use after installlation issues

萝らか妹 提交于 2019-12-21 22:24:09
问题 [2015-10-13:2043] Here is a screen shot of the installed extensions... ========= I think there is a problem with the initialisation script.. ========= I have now installed hybris5.6.0.2: I have now been able to run the Hybris Administration Console [localhost:9001] I have logged in. I have ran the Initialisation, because being a first time installation, except of taking about an hour to complete, it took about 1 minute 30 sec to complete. I suspect something is wrong. It has been about six