Message Boards

By installing FP 17 all localized data in DDL got removed Liferay dxp 7.1

Sami Ullah, modified 3 Years ago.

By installing FP 17 all localized data in DDL got removed Liferay dxp 7.1

New Member Posts: 14 Join Date: 9/28/15 Recent Posts
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.
    
    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
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: By installing FP 17 all localized data in DDL got removed Liferay dxp 7

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Since you are an Enterprise customer, you should open a ticket with Liferay.
Sami Ullah, modified 3 Years ago.

RE: By installing FP 17 all localized data in DDL got removed Liferay dxp 7

New Member Posts: 14 Join Date: 9/28/15 Recent Posts
Thanks Christoph for your reply, but I thought why not check here first may be somebody here encountered the same problem.