Issue Number | 4299 |
---|---|
Summary | Incomplete linking causes error message with no useful information in XMetal |
Created | 2017-08-08 14:48:05 |
Issue Type | Task |
Submitted By | Osei-Poku, William (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2018-03-15 08:05:32 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.212571 |
When a user is creating a link to a Media doc, for example, but fails to complete the Ctrl + Enter macro, and thus leaving the element blank, the attached error message is generated. It is however, difficult to know exactly what is wrong in the document because of the nature of the error message.
This was first reported in OCECDR-4126
... the attached error message is generated.
I don't see an attachment.
I have just added it.
Please provide the exact steps for reproducing this behavior. I performed the following steps:
created a new GlossaryTermName
document on
DEV
eliminated all of the optional elements from the template
added a MediaLink
element
brought up the "Edit Linked CDR Element" dialog box for the
MediaLink
element
backed out of the dialog box without completing the operation
repeated steps 4 and 5 for the GlossaryTermConcept
element
saved the document
validated the document (schema only)
validated the document (schema and link validation)
At no point did I see the error message you described above.
Looks like this is happening in summary documents.
1. Open a summary document
2. Add a new empty Media Link
3. Don't link any media doc
4. Save the document
5. Run a schema validation check
The error message would be displayed.
The error message displaying on QA for me appears to be slightly
different from the one on PROD.
Thanks, that was very helpful. It's always a good idea to provide detailed instructions for reproducing the behavior which an issue is reporting.
The validation query to check for links to Media documents with a caption in the appropriate language and for the appropriate audience has been modified to guard against the user neglecting to provide the linked document's CDR ID (on DEV).
Could you please explain this further? I am not sure if you're talking about validation during publishing or the regular link validation in XMetal.
Validation during publishing is DTD validation. This is CDR Schema validation (not link validation).
TL;DR - the error message you reported is gone (on DEV).
Verified on DEV. Thanks!
Verified on QA.
Verified on PROD. Thanks!
File Name | Posted | User |
---|---|---|
Not%20linking.png | 2017-08-08 15:24:03 | Osei-Poku, William (NIH/NCI) [C] |
Elapsed: 0:00:00.000681