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
By installing FP 17 all localized data in DDL got removed Liferay dxp 7.1
Hope you guys are fine.
By installing FixPack 17 all localized data in DDL got removed Liferay dxp 7.1.
I have Liferay 7.1 DXP server which was on Fix Pack 15 but when I upgraded it to Fix pack 17, it removed all localized entries in Dynamic data Lists, but all non localized entries were fine. Also the main problem that I am having is that now I am not able to save data for localized fields anymore and if I make the field un-localized then it save the data against that field. It throws no errors when I try to save the value for localized field and it a null value gets save against localized field . All my code was running fine on fix pack 15.
Following the code, I am using to save value against a Localized field.
I have attached snapshot of the properties of the Field. Any help would be much appreciated.
Thanks,
Sami
By installing FixPack 17 all localized data in DDL got removed Liferay dxp 7.1.
I have Liferay 7.1 DXP server which was on Fix Pack 15 but when I upgraded it to Fix pack 17, it removed all localized entries in Dynamic data Lists, but all non localized entries were fine. Also the main problem that I am having is that now I am not able to save data for localized fields anymore and if I make the field un-localized then it save the data against that field. It throws no errors when I try to save the value for localized field and it a null value gets save against localized field . All my code was running fine on fix pack 15.
Following the code, I am using to save value against a Localized field.
DDMFormValues ddmFormValues = new DDMFormValues(new DDMForm()); DDMFormFieldValue ddmFormFieldValue = new DDMFormFieldValue();
ddmFormFieldValue.setName("Contact_Group"); Value value = new LocalizedValue(); value.addString(LocaleUtil.ENGLISH, contactGroupVO.getContactGroupName()); value.addString(LocaleUtil.CANADA_FRENCH, contactGroupVO.getContactGroupName_FR()); ddmFormFieldValue.setValue(value); ddmFormValues.addDDMFormFieldValue(ddmFormFieldValue);
DDLRecordLocalServiceUtil.addRecord(themeDisplay.getUserId(), themeDisplay.getCompanyGroupId(), recordSet.getRecordSetId(), recordSet.getRecords().size(), ddmFormValues, serviceContext);
I have attached snapshot of the properties of the Field. Any help would be much appreciated.
Thanks,
Sami
Since you are an Enterprise customer, you should open a ticket with Liferay.
Thanks Christoph for your reply, but I thought why not check here first may be somebody here encountered the same problem.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™