Editing existing graph in a KSC Report drops prefabricated report selection

Description

While customizing an new/existing report from the KSC Reports page, I get a loss of data when modifying an existing graph in the report. When I click the Modify button next to a specific graph, the Customized Report Graph Definition lists the correct title, timespan and graph index for the graph, but doesn't select or display the correct Prefabricated Report item. Instead it displays and selects the first graph in the dropdown box as if it were a new graph.

This is an annoyance as I can't just drop in to change a misspelled title or incorrect time span.

Environment

Operating System: All Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger (community account) October 4, 2010 at 6:15 PM

This bug was due to the controller not passing the graph definition into the request on the edit page. I've added this parameter to the request and now the graph type gets loaded like it should. Marking as fixed. This should go into the next 1.8 release (1.8.5).

commit 813a00ab3cee3ada70b5aef08dda7f34933bec23

Bruce Smith February 8, 2008 at 3:31 PM

On a clean upgrade from 1.3.10 to 1.3.12-0.8388-snapshot, I verified this bug still exists.

Further information. Looking at the html source code of the form, the first <option> in the <select> structure is <option selected>. This suggests to me that either the code for adding the selected to the <option> isn't bothering to do a check and chooses the first item (like a new graph) or the code parsing the report definition in the ksc-performance-reports.xml file isn't loading the graphtype element properly.

David Hustace February 8, 2008 at 9:56 AM

can you verify this bug with 1.3.11 being released today?

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created January 30, 2008 at 2:15 AM
Updated January 27, 2017 at 4:26 PM
Resolved October 13, 2010 at 10:57 AM