| Summary: | [sandbox] "What" field in Task history is always blank | ||
|---|---|---|---|
| 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, robert.elves, steffen.pingel |
| Version: | 2.3 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
(In reply to comment #0) > When obtaining the task history of a bug, the "what" field in every task > revision is blank. > > A very simple fix is as follows: > in BugzillaTaskHistory, in the getData(HtmlStreamTokenizer tokenizer) method, > replace: > > if (data.startsWith("\n") && (data.contains("Attachment") == false)) { > data = ""; // empty field > } > > by: > > data = data.trim(); > Sorry, that's BugzillaTaskHistoryParser. This code is currently not supported since it is not used in Mylyn but we would be happy to accept a patch to fix the problem. Stale. The referenced code has been removed. |
When obtaining the task history of a bug, the "what" field in every task revision is blank. A very simple fix is as follows: in BugzillaTaskHistory, in the getData(HtmlStreamTokenizer tokenizer) method, replace: if (data.startsWith("\n") && (data.contains("Attachment") == false)) { data = ""; // empty field } by: data = data.trim();