Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#113 closed Issue (Fixed)

Broken links on Related Indicators page

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

Description (last modified by Lois Haggard)

Somehow they work in localhost, but not in production.

For instance, for the indicator link in the attached screenshot, for localhost, the URL is this:


But on the production site, the URL is this:


Neither one is totally correct, but the localhost one works.

As far as I can tell, the xslt\html\indicator\profile\RelatedIndicatorsPage.xslt uses a template named "Indicator.relatedIndicators." That template uses a variable named "relatedIndicators" which is defined on line 415 of the Indicator.xslt file, thusly:

<xsl:variable name="relatedIndicators" select="

...which calls the variable (parameter?) named "relation."

And there I lose the trail...

Attachments (1)

RelatedIndpProfile2.PNG (107.0 KB) - added by Lois Haggard 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Lois Haggard

Attachment: RelatedIndpProfile2.PNG added

comment:1 Changed 10 years ago by Lois Haggard

Milestone: IBIS-PH View2
Owner: changed from utah to Garth
Summary: Related indicator linksBroken links on Related Indicators page
Version: 1.02.0

comment:2 Changed 10 years ago by Lois Haggard

Description: modified (diff)

comment:3 Changed 9 years ago by Garth Braithwaite

Resolution: fixed
Status: newclosed
Type: defectissue

I'm not sure what's going on with the URL.

The relateds XML structure changed in 2.0. In 1.x, the INDICATOR/RELATIONS/RELATION/RELATED_INDICATORS child structure and was changed to better match the db column names. so from INDICATOR to RELATED_INDICATOR with child elements being named more appropriately.

To upgrade 1.x to 2.x is to us the admin 2.0 app and republish all IPs (easiest and safest) or use a tool and search and replace existing structures.

comment:4 Changed 9 years ago by (none)

Milestone: IBIS-PH View-2

Milestone IBIS-PH View-2 deleted

Note: See TracTickets for help on using tickets.