viewing saved graph does not load the full URL
Bug #1032771 reported by
T.T
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.
Changed in graphite: | |
importance: | Undecided → High |
status: | New → Fix Committed |
To post a comment you must log in.
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=1347958529 520&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 graphite/ render/ ?width= 586&height= 308&_salt= 1347958500. 361&target= carbon. agents. graphite- a.avgUpdateTime &target= carbon. agents. graphite- a.committedPoin TEST_TITLE" , "text": "TESTING", "expandable": 0, "id": "portal. 907953dcbd01ad6 8db1f19be286936 f4", "allowChildren": 0}]
tal.frontends.", "allowChildren": 1}, {"text": "liferay", "expandable": 1, "leaf": 0, "id": "portal.liferay.", "allowChildren": 1}, {"leaf": 1, "graphUrl": "
http://
ts&title=
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.committedPoin ts&width= 586&height= 3
08
I'm currently working on the js code to see what could be the problem.