Project

General

Profile

Bug #93534

Updated by Christian Kuhn 30 days ago

Setting the title of sys_file_metadata records to (联通智网科技有限公司董事长、总经理辛克铎先生(左一)、上海虹桥商务区管理委员会副主任费小妹女士(左二)、大陆集团中国区总裁兼首席执行官汤恩先生(右一)、闵行区人民政府副区长吴斌先生(右二)共同为联陆智能交通科技(上海)有限公司揭牌) will case a database exception. 

 Length: 
 <pre> 
 strlen: 345 
 mb_strlen: 115 
 </pre> 

 Current database field configuration: 
 <pre> 
   `title` tinytext COLLATE utf8mb4_unicode_ci, 
 </pre> 

 This error affects all records whose properties are stored as `tinytext` in the database. For example: 

 * title of sys_file_metadata 
 * title of sys_file_reference 
 * title of sys_file_collection 
 * -title title of sys_collection- sys_collection 
 * -title title of sys_category- sys_category 


 h3. Possible solution: 

 a) Set database type to VARCHAR(255) 
 b) Add validators to the TCA 

Back