| Summary: | Getting Bug Activity does not work for all sites | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | David Marple <d.marple> |
| Component: | Mylyn | Assignee: | Mylyn Inbox <mylyn-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P4 | CC: | janvik, shawn.minto |
| Version: | 2.3 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
*** Bug 237352 has been marked as a duplicate of this bug. *** Stale. The referenced code has been removed. |
The implementation for parsing the history of a bug is not generic enough to work for all bugzilla sites. In BugzillaTaskHistoryParser, in the method retrieveHistory, there is code which locates the table containing the list of changes: if (token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); // Skip till find <br> - "there can be only one" if (tag.getTagType() == HtmlTag.Type.BR && !tag.isEndTag()) { There is not always one <BR>, if any, present. A generic implementation would be to replace that if statement with the following. if (tag.getTagType() == HtmlTag.Type.TABLE && !tag.isEndTag()) { (A good website to test this is http://buni.org/bugzilla)