viewing saved graph does not load the full URL

Bug #1032771 reported by T.T
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Graphite
Fix Committed
High
Unassigned

Bug Description

i created a graph and added the title name blah. saved the graph, but when i view the graph, its missing the title. i noticed the URL is missing everything after the height value. i checked the database and see the URL is fully saved but wont populate the full URL when you view the graph. its easy to reproduce, here is a youtube video.

http://www.youtube.com/watch?v=TpwC6I3ku_0

Revision history for this message
magec (magec) wrote :

The same here, the problem seems to be related to the code that receives the graph information, cause the response JSON seems to be correct. Here is an examp
le:

HTTP Request of the upper node

http://graphite/browser/usergraph/?_dc=1347958529520&query=portal.*&format=treejson&contexts=1&path=portal&user=portal&node=portal

JSON RESPONSE

[{"text": "backends", "expandable": 1, "leaf": 0, "id": "portal.backends.", "allowChildren": 1}, {"text": "frontends", "expandable": 1, "leaf": 0, "id": "por
tal.frontends.", "allowChildren": 1}, {"text": "liferay", "expandable": 1, "leaf": 0, "id": "portal.liferay.", "allowChildren": 1}, {"leaf": 1, "graphUrl": "
http://graphite/render/?width=586&height=308&_salt=1347958500.361&target=carbon.agents.graphite-a.avgUpdateTime&target=carbon.agents.graphite-a.committedPoin
ts&title=TEST_TITLE", "text": "TESTING", "expandable": 0, "id": "portal.907953dcbd01ad68db1f19be286936f4", "allowChildren": 0}]

Note that the response contais a well formed graphUrl with the title included.

After that the tree in the left side is populated with the new TESTING leaf node. When I click on it, the browser requests

http://graphite/render/?_salt=1347958679.102&target=carbon.agents.graphite-a.avgUpdateTime&target=carbon.agents.graphite-a.committedPoints&width=586&height=3
08

I'm currently working on the js code to see what could be the problem.

Revision history for this message
magec (magec) wrote :
Changed in graphite:
importance: Undecided → High
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.