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
Import LayoutSetPrototype on resources-importer theme.
Hi. I m using liferay 7 DXP. And have a Theme with resources importer.
This importer create a LayoutSetPrototype with the name of the Theme.
The portal has en_US default language.
We have two sites, one with langage es_ES and other woth en_US.
With the site in en_US we can import all structures ok.
With the site in es_ES we have a problem on importing the structures. The exception is: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.dynamic.data.mapping.exception.StructureNameException: Name is null for locale Spanish (Spain).
I think the problem is that when the theme is deployes, the LayoutSetPrototype is created in english. So after when I want to deoy the theme, the structures in spanish can not be imported.
Anyone has an idea how to deal with this? Or how Can I modify the default language of a LayoutSetPrototype?
Thanks in advance!
This importer create a LayoutSetPrototype with the name of the Theme.
The portal has en_US default language.
We have two sites, one with langage es_ES and other woth en_US.
With the site in en_US we can import all structures ok.
With the site in es_ES we have a problem on importing the structures. The exception is: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.dynamic.data.mapping.exception.StructureNameException: Name is null for locale Spanish (Spain).
I think the problem is that when the theme is deployes, the LayoutSetPrototype is created in english. So after when I want to deoy the theme, the structures in spanish can not be imported.
Anyone has an idea how to deal with this? Or how Can I modify the default language of a LayoutSetPrototype?
Thanks in advance!
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™