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
Object Definition not display correctly on Role creation page
Hi,
After creating an Object, I continue to set the role to it.
But when the label of the object definition on Role definition page is not display as the definition configured on Object creation page (object name and object plural name). It shows with the format like:
MODEL.RESOURCE.COM.LIFERAY.OBJECT#84677
MODEL.RESOURCE.COM.LIFERAY.OBJECT.MODEL.OBJECTDEFINITION#84677
as shown below:
My Liferay is Liferay Community Edition Portal 7.4.3.60 CE GA60.
How to fix this problem? Thank you.
[bayu]
Hi Bayu Widyasanyata!
Could you share the steps to reproduce the behavior or more details of your environment?
I tried to reproduce it using Liferay Community Edition Portal 7.4.3.60 CE GA60 and CE GA66, but the labels were correct.
Thank you!
Hi Ana,
Apologize for long response.
I created the object based on Creating Objects — Liferay Learn and only fill the data on following tabs: Details, Fields, Layouts and Views.
Here is my portal-ext.properties file which my Liferay behind nginx reverse proxy but I disabled portal.proxy.path since it messes up the css.
setup.wizard.enabled=false
admin.email.from.address=email@mydomain.com
admin.email.from.name=Admin Intranet
company.default.locale=en_US
company.default.name=My Intranet Portal
company.default.time.zone=Asia/Jakarta
company.default.web.id=mydomain.com
default.admin.email.address.prefix=intranet
default.admin.first.name=Admin
default.admin.last.name=Intranet
jdbc.default.driverClassName=org.postgresql.Driver
jdbc.default.password=pgpwd
jdbc.default.url=jdbc:postgresql://localhost:5432/liferay
jdbc.default.username=liferayuser
liferay.home=/opt/liferay-ce-portal-7.4.3.60-ga60
web.server.http.port=80
#portal.proxy.path=/liferay
http.proxyHost=192.168.1.111
http.proxyPort=80
Thank you,
Hi bernhar djamil,
I installed Liferay on my old CentOS release 6.7 (Final), Java 11 (openjdk 11 2018-09-25) and PostgreSQL 12.4.
Forgot to mention that I have succeeded in creating an object before with correct labels before, but after that the problem occured.
The scope of my Object is Site scope and I just added/modify the data/configuration of Object in Fields, Layouts and Views tabs. No error log found during the Object creation.
I finally install a fresh and same version of Liferay + Postgres 14 on my Ubuntu 22.04 and found no labels problem there.
:'(
Powered by Liferay™