CDR Tickets

Issue Number 4679
Summary [Summaries] Modify ID SWAP Macro to change Reference Table and Figure Numbers
Created 2019-10-23 09:42:16
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2020-05-07 12:44:31
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.251397
Description

Please modify the "Spanish Link ID Swap" macro so that it replaces the CDR IDs within the Reference Table Numbers and Reference Figure Numbers. I will provide an example shortly.

Comment entered 2020-01-31 18:55:57 by Englisch, Volker (NIH/NCI) [C]

I can't estimate this ticket without having a better idea of what the request is.

Comment entered 2020-02-03 17:33:57 by Osei-Poku, William (NIH/NCI) [C]

Let me try to explain a bit more to see if it helps. You may also take a look at this OCECDR-3705 ticket. The XML of the English summaries are copied into World Server for the Spanish translations. However, they do retain all the IDs in the English summaries. Since they are imported into the CDR as Spanish summaries, all references to the English summaries need to be replaced with the ID of the Spanish summary. These are IDs within the summary that point to the same summary like summary fragment refs etc. We use the Spanish ID SWAP macro in XMetal to do the swapping. Currently it only swaps IDs like summary fragment refs. What this ticket is asking for is to modify the macro to be able to also swamp reference table/figure numbers. The macro is invoked in XMetal form the context menu.

Comment entered 2020-04-21 14:45:44 by Englisch, Volker (NIH/NCI) [C]

I haven't really started yet working on Leibniz tickets and Bob is already asking me to hand over some of mine.  Shocking! 🙂

This is a ticket you could take over, .  Assign it back to me if you disagree.

Comment entered 2020-04-28 11:26:10 by Kline, Bob (NIH/NCI) [C]

Could I have some examples, please, ?

Comment entered 2020-05-06 10:49:52 by Osei-Poku, William (NIH/NCI) [C]

Please check CDR0000799643 on DEV. The ID SWAP macro was applied to this DOC but it skipped the ReferenceTableNumber elements. They retained the English doc's CDR ID 62922

Comment entered 2020-05-07 12:44:31 by Kline, Bob (NIH/NCI) [C]

Enhancement installed on DEV.

Comment entered 2020-05-28 10:53:56 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2020-06-15 15:05:39 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2020-07-15 09:40:13 by Kline, Bob (NIH/NCI) [C]

Is this another "too rare to have had a chance to verify yet" ticket? 😉

Comment entered 2020-07-16 13:05:43 by Osei-Poku, William (NIH/NCI) [C]

We have not been able to test this fix on PROD yet. I am closing the ticket and will reopen if necessary. 

Attachments
File Name Posted User
spanish ID Swap macro.PNG 2020-02-03 17:32:42 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.002009