Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
resource bundle override modules not working for Liferay 7.2.1 (GA-2)
Try build and deploy Resource Bundle Override login-web-resource-bundle-override module from blade samples repository.
When I try login to portal I see error in logs:
When I try login to portal I see error in logs:
2020-01-16 10:05:22.079 ERROR [http-nio-8080-exec-10][IncludeTag:128] Current URL /web/guest/home?p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
java.lang.StackOverflowError
at com.liferay.portal.language.extender.internal.ServiceTrackerResourceBundleLoader.loadResourceBundle(ServiceTrackerResourceBundleLoader.java:83)
at com.liferay.portal.language.extender.internal.ServiceTrackerResourceBundleLoader.loadResourceBundle(ServiceTrackerResourceBundleLoader.java:83)
I can confirm that I can reproduce this on 7.2 DXP SP1.
2020-01-16 21:32:27.834 INFO [fileinstall-/home/russell/liferay-bundles/liferay-dxp-7.2.10.1-sp1/osgi/modules][BundleStartStopLogger:39] STARTED com.liferay.blade.login.web.resource.bundle.override_1.0.0 [1106]
2020-01-16 21:33:04.663 ERROR [http-nio-8080-exec-2][IncludeTag:128] Current URL /web/guest/home?p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&p_p_state=exclusive&p_p_mode=view&saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
java.lang.StackOverflowError
at com.liferay.portal.language.extender.internal.ServiceTrackerResourceBundleLoader.loadResourceBundle(ServiceTrackerResourceBundleLoader.java:76)
at com.liferay.portal.language.extender.internal.ServiceTrackerResourceBundleLoader.loadResourceBundle(ServiceTrackerResourceBundleLoader.java:83)
I am also interested in this one, as I am suffering from the same problem. There are all kinds of JIRA reports circling araound the ResourceBundle override area, but I have yet to find a solution that works for module specific overrides in Liferay CE 7.2.1 GA2. I wonde if the problems are fixed in 7.3, and if so, when the blade samples for 7.3 will be made available.
Hi everyone,
I've faced this problem at DXP 7.2.10 GA1. It's quite critical to resolve this problem because standard bundle values are auto translated and not suitable for production.
Have anybody managed to find a way to override another module bundle?
I've faced this problem at DXP 7.2.10 GA1. It's quite critical to resolve this problem because standard bundle values are auto translated and not suitable for production.
Have anybody managed to find a way to override another module bundle?
I want to overide message board language properties file in liferay 7.2 dxp .Please suggest .Iam also facing issue .1.I have created Activator Project in my workspace2. Created content folder inside src/resources and added langauge_en.Properies file in it . my-posts=My Topics
3. included below in bnd.bnd file
Bundle-Name: CustomMessageLangHook
Bundle-SymbolicName: CustomMessageLangHook
Bundle-Version: 1.0.0
Export-Package: CustomMessageLangHook.constants
Provide-Capability:\
liferay.resource.bundle;resource.bundle.base.name="content.Language",\
liferay.resource.bundle;resource.bundle.aggregate:String="(bundle.symbolic.name=CustomMessageLangHook),(bundle.symbolic.name=com.liferay.message.boards.web)";bundle.symbolic.name=com.liferay.message.boards.web;resource.bundle.base.name="content.Language";service.ranking:Long="2";\
servlet.context.name=message-boards-web
-sources: true
4. Module is getting deployed but overide is not working .
3. included below in bnd.bnd file
Bundle-Name: CustomMessageLangHook
Bundle-SymbolicName: CustomMessageLangHook
Bundle-Version: 1.0.0
Export-Package: CustomMessageLangHook.constants
Provide-Capability:\
liferay.resource.bundle;resource.bundle.base.name="content.Language",\
liferay.resource.bundle;resource.bundle.aggregate:String="(bundle.symbolic.name=CustomMessageLangHook),(bundle.symbolic.name=com.liferay.message.boards.web)";bundle.symbolic.name=com.liferay.message.boards.web;resource.bundle.base.name="content.Language";service.ranking:Long="2";\
servlet.context.name=message-boards-web
-sources: true
4. Module is getting deployed but overide is not working .