CDR Tickets

Issue Number 5385
Summary Test search results in macros
Created 2025-07-03 11:01:44
Issue Type Improvement
Submitted By Kline, Robert (NIH/NCI) [C]
Assigned To Kline, Robert (NIH/NCI) [C]
Status Open
Resolved
Resolution
Path /home/bkline/backups/jira/ocecdr/issue.517403
Description

The Word macros used by the board managers assume that when they search for something they will always find it. So, for example, the RemoveChangeSection() macro searches for the string identifying the section which identifies the latest changes made to the summary and deletes the line where the first occurrence is found and the result of the document from where the second occurrence is found. The problem is that if those searches fail, the entire document is wiped out. Test to make sure that we have actually found what we want to delete before we pull the trigger.

Elapsed: 0:00:00.001419