message: fix: more safe check for getTitle
diff: import get from 'lodash/get';
  import isObject from 'lodash/isObject';
  +import isString from 'lodash/isString';
  import { File, ContentType, Entry, ContentTypeField, EntrySys } from '../typesEntity';
  -function titleOrDefault(title: string | undefined, defaultTitle: string) {
  - if (!title || title.match(/^\s*$/)) {
  +function titleOrDefault(title: string | undefined, defaultTitle: string): string {
  + if (!isString(title)) {
  + return defaultTitle;
  + }
  + if (title) {
  + const trimmedTitle = title.trim();
  + if (trimmedTitle.length === 0) {
  return defaultTitle;
  - } else {
  - return title;
  }
  + return trimmedTitle;
  + }
  + return defaultTitle;
  }
  export function getFieldValue({
  