743: Blank Diff Sets
- UserError
- Review Board
thomas.*******@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Dec. 23, 2008 |
I was holding an old install (SVN Checkout and "by hand" settings_local.py) and tried to update to latest version ... After some questionning about the brand new easy_install procedure I have a "working" install of today's build. The bad thing is that I can't see any File Diff Set anymore. I've tried from bot a fresh install and from scratch and even if filling the fields and uploading the diff set file is OK, when clicking on "View Diff" ("http://host...."/r/1/diff/#index_header) I get a page with the reviewboard header, the blue menu bar ... and a empty blank page. To reproduce 1. New Review Request 2. Upload File Diff Set 3. Click on "View Diff" What is the expected output? What do you see instead? A 2 column colored diff / Nothing. What operating system are you using? What browser? Using Windows 2000 + local Apache / MySQL and tested with Firefox 3 and IE 6.
What did you use to generate the diff? If post-review, try with --output-diff to make sure there's actual content there. I can't imagine what would cause this. Certainly haven't seen this issue anywhere else, so I'll need a lot more information before I can begin to track this down.
-
+ Component-DiffViewer
The diff file was generated with GNU Diff (called by SVN command line). Same diff with old version of ReviewBoard (let's say mid-October) was working fine. The very odd thing is that there is no error, simply a blank page. Included the code of this HTML Page (draft review, uploaded diff set and clicked on "View Diff").
-
+
Still investigating (considering I was hoping to use the tool this week !) ... Looks like there is something wrong with the diff retreival, same steps with Firebug raises a JS error : getEl(gAnchors[anchor]) is null SetHighlighted(1, true)diffviewer.js (ligne 847) onPageLoaded(load )diffviewer.js (ligne 456) (?)()(load )utilities.js (ligne 75) [Break on this error] var nextNode = getEl(gAnchors[anchor]).getNextSibling();
Ok, please close this one, root cause was that PatchUtils were not exactly where theu must be (CygWin/bin). Maybe it could be useful to add a check for these tools when starting an instance (maybe only with embedded runserver).