Issue Number | 569 |
---|---|
Summary | Verifcation Date |
Created | 2003-02-05 11:09:37 |
Issue Type | Bug |
Submitted By | Grama, Lakshmi (NIH/NCI) [E] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2003-02-10 08:55:57 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.104897 |
BZISSUE::568
BZDATETIME::2003-02-05 11:09:37
BZCREATOR::Lakshmi Grama
BZASSIGNEE::Bob Kline
BZQACONTACT::Lakshmi Grama
The Verification Date element needs to be populated by the following logic
If DateLastModified exists, map to Verification Date element.
If no DateLastModified, use DateFirstPublished for Verification
date.
We may have already implemented this, but I am not sure and wanted to
double
check.
BZDATETIME::2003-02-05 15:40:59
BZCOMMENTOR::Bob Kline
BZCOMMENT::1
Checked the code and verified that DateFirstPublished is used in the
absence of
DateLastModified. Here's the relevant portion of the filter:
<!--
====================================================================
Named template for producing verification_date element.
==================================================================== -->
xsl:template name = "get_verification_date">
<verification_date>
<xsl:choose>
<xsl:when test = "DateLastModified">
<xsl:value-of select = "DateLastModified"/>
<xsl:when>
</xsl:otherwise>
<xsl:value-of select = "DateFirstPublished"/>
<xsl:otherwise>
</xsl:choose>
</verification_date>
</xsl:template> </
BZDATETIME::2003-02-10 08:29:46
BZCOMMENTOR::Lakshmi Grama
BZCOMMENT::2
OK
BZDATETIME::2003-02-10 08:55:57
BZCOMMENTOR::Lakshmi Grama
BZCOMMENT::3
Closed
Elapsed: 0:00:00.001377