CDR Tickets

Issue Number 4617
Summary [CIS] Restrict summary description to 600 characters
Created 2019-05-09 17:03:48
Issue Type Improvement
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2019-05-10 15:40:40
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.243963
Description

The new Drupal CMS had a length limit on the description field (which is used to improve the likelihood that web search engines will find the summary for potential visitors who would be looking for the information contained in it) of 320 characters for CIS documents, which was causing about 20 description values to be truncated on import into the CMS. Rather than allow this truncation, it has been decided to raise the limit to 600 characters and add a schema validation constraint to invalidate documents which exceed the new limit. No CIS documents currently in the CDR come close to this new limit. Editors of summary documents should be made aware that more compact meta descriptions will be more successful in causing the summaries to be found by users searching for the information found in those summaries.

Comment entered 2019-05-09 17:04:36 by Kline, Bob (NIH/NCI) [C]

Adding and as watchers so they'll be aware that this schema change is in the works.

Comment entered 2019-05-10 15:40:30 by Kline, Bob (NIH/NCI) [C]

This schema change has been installed on DEV. You can test by putting a SummaryDescription value with exactly 600 characters in a valid summary document and verifying that the document still passes schema validation, and then adding a single character to the value and confirming that the document is no longer valid.

Elapsed: 0:00:00.001645