Ticket #79 (closed Defect: Fixed)

Opened 20 months ago

Last modified 8 months ago

New Narrative Fields not Displaying

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

Description (last modified by lois) (diff)

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

comment:1 Changed 20 months ago by lois

  • Description modified (diff)

comment:2 Changed 20 months ago by lois

  • Description modified (diff)

comment:3 Changed 20 months ago by lois

  • Description modified (diff)

comment:4 Changed 20 months ago by lois

  • Description modified (diff)

comment:5 Changed 20 months ago by lois

  • Description modified (diff)

comment:6 Changed 19 months ago by garth

Fixed 2297.

comment:7 Changed 19 months ago by lois

  • Description modified (diff)

comment:8 Changed 19 months ago by lois

  • Description modified (diff)

comment:9 Changed 18 months ago by lois

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 18 months ago by garth

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 18 months ago by lois

  • Status changed from new to closed
  • Resolution set to fixed

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 months ago by anonymous

  • Milestone IBIS-PH View-2 deleted

Milestone IBIS-PH View-2 deleted

Note: See TracTickets for help on using tickets.