Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#79 closed Defect (Fixed)

New Narrative Fields not Displaying

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

Description (last modified by Lois Haggard)

I created a demo indicator and created one view with a supplemental image and another with a graph. I used the narrative fields for both views.

In neither case did the narrative information display on the view page.

In both cases, the data saved to the DB.
The <SUPPLEMENTAL_IMAGE_NARRATIVE> data were published to the xml file, but the <CHART_NARRATIVE /> element was empty. (See related ticket #80 under Admin2 Milestone.)
In neither case was the information displayed on the page.

I checked the xslt\html\indicator\profileViewPage.xslt and found this code on lines 63-69:

<xsl:if test="string-length(/INDICATOR_VIEW/SUPPLEMENTAL_IMAGE_URL) != 0">
	<xsl:if test="string-length(/INDICATOR_VIEW/SUPPLEMENTAL_IMAGE_TITLE) != 0">
		<h2><xsl:value-of select="/INDICATOR_VIEW/SUPPLEMENTAL_IMAGE_TITLE"/></h2>
	</xsl:if>
	<img src="{/INDICATOR_VIEW/SUPPLEMENTAL_IMAGE_URL}"/>
	<br/><br/>
</xsl:if>

I searched for the string, "SUPPLEMENTAL_IMAGE_NARRATIVE" but did not find it. I searched for the string, "_NARRATIVE" but did not find it. (Which I think means the CHART_NARRATIVE data, had it published, would not have displayed, either.)


11/12/2010 - Lois tested. The <CHART_NARRATIVE> and <SUPPLEMENTAL_IMAGE_NARRATIVE> elements are publishing to the appropriate indicator_view.xml files, but the xslt is still not displaying them on either the indicator/profile/ViewPage or the indicator/profile/CompleteProfilePage.

I searched View2 BASE code xslt directory for the string, "NARRATIVE" but could not find that string.

Change History (12)

comment:1 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:2 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:3 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:4 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:5 Changed 9 years ago by Lois Haggard

Description: modified (diff)

comment:6 Changed 8 years ago by Garth Braithwaite

Fixed 2297.

comment:7 Changed 8 years ago by Lois Haggard

Description: modified (diff)

comment:8 Changed 8 years ago by Lois Haggard

Description: modified (diff)

comment:9 Changed 8 years ago by Lois Haggard

11/24/2010 - Conversation with Garth. The Graph Narrative and Supplemental Image Narrative text will appear directly underneath the graph or supplemental image.

Indicator Profile View Page Indicator Profile Complete Profile Page PHOM Report "Normal View" PHOM Report "Expanded View" Community Reports? (we didn't define this one)

comment:10 Changed 8 years ago by Garth Braithwaite

Added XSLT code to handle (svn 2335) - template code to handle the Graph Narrative and Supplemental Image Narrative text and titles for IP view, complete profile, PHOM views.

comment:11 Changed 8 years ago by Lois Haggard

Resolution: fixed
Status: newclosed

Graph Narrative and Supplemental Image Narrative text is now displaying in the indicator view and complete profiles pages. I also tested both the phom condensed and expanded pages - works there, too. I will close this ticket.

comment:12 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.