Ticket #89 (closed Defect: Fixed)
Indicator Profile Report related indicator links broken
| Reported by: | lois | Owned by: | Garth |
|---|---|---|---|
| Priority: | *High | Milestone: | |
| Component: | View-App | Version: | 2.0 |
| Severity: | Keywords: | ||
| Cc: |
Description (last modified by lois) (diff)
See related Ticket #65.
If you don't want to wade through all the info, the defect is concisely described under defect, below.
I hand-modified my xml\indicator\profile\DiabDeath.xml file to include a text blurb and indicator links for all four relations. All indicators referenced were published and available in my NM View2 application.
Here is my test <RELATIONS> element with four text blurbs and related indicators for each relation:
<RELATIONS> <RELATION name="PopChar"> <NAME>PopChar</NAME> <TITLE>Relevant Population Characteristics</TITLE> <TEXT>Diabetes is the sixth leading cause of death both nationally and in New Mexico. People who are of minority race or ethnicity (particularly African American, Hispanic/ Latino, or Native American) have an increased risk of dying from diabetes. Rates of death for diabetes tend to be higher for females than for males.</TEXT> <RELATED_INDICATORS> <RELATED_INDICATOR name="NMPopDemoAge65"> <INDICATOR_NAME>NMPopDemoAge65</INDICATOR_NAME> <INDICATOR_TITLE>New Mexico Population Demographics: Percentage of the Population Age 65+</INDICATOR_TITLE> </RELATED_INDICATOR> <RELATED_INDICATOR name="NMPopDemoRacEth"> <INDICATOR_NAME>NMPopDemoRacEth</INDICATOR_NAME> <INDICATOR_TITLE>New Mexico Population Demographics: Race/Ethnicity</INDICATOR_TITLE> </RELATED_INDICATOR> </RELATED_INDICATORS> </RELATION> <RELATION name="SystemFactors"> <NAME>SystemFactors</NAME> <TITLE>Healthcare Systems Factors</TITLE> <TEXT>Lois modified xml: Healthcare Systems Factors Text Blurb</TEXT> <RELATED_INDICATORS> <RELATED_INDICATOR name="HlthInsurCover"> <INDICATOR_NAME>HlthInsurCover</INDICATOR_NAME> <INDICATOR_TITLE>Health Insurance Coverage in New Mexico</INDICATOR_TITLE> </RELATED_INDICATOR> </RELATED_INDICATORS> </RELATION> <RELATION name="RiskFactors"> <NAME>RiskFactors</NAME> <TITLE>Risk Factors</TITLE> <TEXT>Lois modified xml: Risk Factors Text Blurb</TEXT> <RELATED_INDICATORS> <RELATED_INDICATOR name="ObesityAdult"> <INDICATOR_NAME>ObesityAdult</INDICATOR_NAME> <INDICATOR_TITLE>Obesity: Adult Prevalence</INDICATOR_TITLE> </RELATED_INDICATOR> <RELATED_INDICATOR name="NMPopDemoAge65"> <INDICATOR_NAME>NMPopDemoAge65</INDICATOR_NAME> <INDICATOR_TITLE>New Mexico Population Demographics: Percentage of the Population Age 65+</INDICATOR_TITLE> </RELATED_INDICATOR> <RELATED_INDICATOR name="NMPopDemoRacEth"> <INDICATOR_NAME>NMPopDemoRacEth</INDICATOR_NAME> <INDICATOR_TITLE>New Mexico Population Demographics: Race/Ethnicity</INDICATOR_TITLE> </RELATED_INDICATOR> </RELATED_INDICATORS> </RELATION> <RELATION name="HealthStatus"> <NAME>HealthStatus</NAME> <TITLE>Health Status Outcomes</TITLE> <TEXT>Lois modified xml: Health Status Outcomes Text Blurb</TEXT> <RELATED_INDICATORS> <RELATED_INDICATOR name="CardioVasDiseaseHeartDeath"> <INDICATOR_NAME>CardioVasDiseaseHeartDeath</INDICATOR_NAME> <INDICATOR_TITLE>Cardiovascular Disease: Diseases of the Heart Deaths</INDICATOR_TITLE> </RELATED_INDICATOR> <RELATED_INDICATOR name="DthRateLdgCause"> <INDICATOR_NAME>DthRateLdgCause</INDICATOR_NAME> <INDICATOR_TITLE>Death Rates from Leading Causes of Death</INDICATOR_TITLE> </RELATED_INDICATOR> </RELATED_INDICATORS> </RELATION> </RELATIONS>
In the indicator profile report, the left nav menu buttons were dislayed for all four relations (see attached RelatedIndProfile.PNG), and each relation left nav button allowed me to navigate to the appropriate related indicator page.
The Complete Profile page displayed the Relations titles/headings with the text blurbs, but no related indicator links. (See attached RelatedIndCompleteProfile.PNG.)
The text blurbs displayed for all four relations, and related indicator titles displayed in every case (although with broken links).
Defect
The links to the related indicator page produced an error, "Uncaught System Run Time Exception". The problem URI was as follows:
/View2//indicator/view/.html
The defect may be fixed in the xslt\html\indicator\profile\RelatedIndicatorsPage.xslt file, beginning on line 88. Here is the current version:
<xsl:for-each select="$relatedIndicators">
<li>
<a href="{$ibis.urlPrefix}/indicator/view/{current()/INDICATOR_VIEW/NAME}.html">
<xsl:value-of select="INDICATOR_TITLE"/>
</a>
</li>
</xsl:for-each>
11/8/2010. Lois verified this defect was fixed. Related indicator links in indicator profile report work correctly.
Attachments
Change History
comment:3 Changed 19 months ago by lois
- Priority changed from major to critical
- Version changed from 1.0 to 2.0
- Milestone set to IBIS-PH View2 Testing
comment:8 Changed 19 months ago by lois
- Summary changed from Related indicators don't display correctly in Indicator Profile Report to Indicator Profile Report related indicator links broken
comment:10 Changed 19 months ago by lois
- Status changed from new to closed
- Resolution set to fixed
- Description modified (diff)
comment:11 Changed 8 months ago by anonymous
- Milestone IBIS-PH View-2 deleted
Milestone IBIS-PH View-2 deleted
