@Brenden Kehren:
- I applied hotfix 8.1.12 after upgrade to 8.0
- I cleared cache
- There are not any errors in eventlog.
@Sandro Jankovic:
I checked the code for the Custom table (/CMSModules/CustomTables/Control/CustomTableDataList.ascx) and (/CMSModules/CustomTables/Control/CustomTableViewItem.ascx). I figure out problem in there.
In Kentico 7, I didn't enable editing for some fields of custom table so these fields don't have "Field Caption" and in Kentico 8, Column Name is displayed base on "fieldCaption" and because they are null so Column Name is empty.
We changed the code:
CustomTableDataList.ascx
change from
fieldCaption = (caption == string.Empty) ? column : ResHelper.LocalizeString(caption);
to
fieldCaption = (string.IsNullOrEmpty(caption)) ? column : ResHelper.LocalizeString(caption);
CustomTableViewItem.ascx
change from
fieldCaption = ResHelper.LocalizeString(ffi.Caption);
to
fieldCaption = ResHelper.LocalizeString(!string.IsNullOrEmpty(ffi.Caption) ? ffi.Caption : ffi.Name);
and it work well.
Thank all
GiangLT3