Actions
Defect #11612
closedRevision graph sometimes broken due to raphael.js error
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
In most Git repositories here, the revision graph is sometimes not completely rendered, some (or even most) lines and dots are missing. I tried it in FF 14 and Safari 6 with the same result.
Firefox error console shows this:
Timestamp: 2012-08-09 11:03:52 Error: TypeError: b[0] is undefined Source File: http://naft02.ch.alcatel-lucent.com/redmine/javascripts/raphael.js?1342787109 Line: 7
Since revision_graph.js does not use any of the deprecated API of Raphaël 2.1, I tried updating Raphaël:
cd public/javascripts mv raphael.js{,.old} wget -O raphael.js https://raw.github.com/DmitryBaranovskiy/raphael/master/raphael-min.js
This completely fixes the problem.
Related issues
Actions