Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#89 closed Defect (Fixed)

Indicator Profile Report related indicator links broken

Reported by: Lois Haggard Owned by: Garth Braithwaite
Priority: *High Milestone:
Component: View-App Version: 2.0
Severity: Keywords:
Cc:

Description (last modified by Lois Haggard)

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 (2)

RelatedIndpProfile.PNG (86.6 KB) - added by Lois Haggard 9 years ago.
RelatedIndCompleteProfile.PNG (16.5 KB) - added by Lois Haggard 9 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:2 Changed 9 years ago by Lois Haggard

Description: modified (diff)

Changed 9 years ago by Lois Haggard

Attachment: RelatedIndpProfile.PNG added

comment:3 Changed 9 years ago by Lois Haggard

Milestone: IBIS-PH View2 Testing
Priority: majorcritical
Version: 1.02.0

comment:4 Changed 9 years ago by Lois Haggard

Owner: changed from utah to Garth

comment:5 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:6 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:7 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:8 Changed 9 years ago by Lois Haggard

Summary: Related indicators don't display correctly in Indicator Profile ReportIndicator Profile Report related indicator links broken

Changed 9 years ago by Lois Haggard

comment:9 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:10 Changed 8 years ago by Lois Haggard

Description: modified (diff)
Resolution: fixed
Status: newclosed

comment:11 Changed 8 years ago by (none)

Milestone: IBIS-PH View-2

Milestone IBIS-PH View-2 deleted

Note: See TracTickets for help on using tickets.