Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 122679 Details for
Bug 259434
the owner name and created date of the attachment file of the localized Bugzilla are not displayed.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
bugzilla.core.patch
bugzilla.core.patch (text/plain), 2.25 KB, created by
Hiroyuki
on 2009-01-15 09:10:34 EST
(
hide
)
Description:
bugzilla.core.patch
Filename:
MIME Type:
Creator:
Hiroyuki
Created:
2009-01-15 09:10:34 EST
Size:
2.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.bugzilla.core >Index: src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java,v >retrieving revision 1.42 >diff -u -r1.42 SaxMultiBugReportContentHandler.java >--- src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java 18 Dec 2008 00:45:36 -0000 1.42 >+++ src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java 15 Jan 2009 14:09:23 -0000 >@@ -37,7 +37,11 @@ > > private static final String ATTRIBUTE_NAME = "name"; //$NON-NLS-1$ > >- private static final String COMMENT_ATTACHMENT_STRING = Messages.SaxMultiBugReportContentHandler_CREATED_AN_ATTACHEMENT_ID; >+ private static final String COMMENT_ATTACHMENT_STRING = /*Messages.SaxMultiBugReportContentHandler_CREATED_AN_ATTACHEMENT_ID*/"Created an attachment (id="; //$NON-NLS-1$ >+ >+ private static final String ID_STRING_BEGIN = " (id="; //$NON-NLS-1$ >+ >+ private static final String ID_STRING_END = ")"; //$NON-NLS-1$ > > private StringBuffer characters; > >@@ -586,6 +590,36 @@ > } > } > } >+ //{{ Fixed by Hiroyuki >+ else { >+ int firstDelimiter = commentText.indexOf("\n"); //$NON-NLS-1$ >+ if (firstDelimiter < 0) { >+ firstDelimiter = commentText.length(); >+ } >+ int startIndex = commentText.indexOf(ID_STRING_BEGIN); >+ if (startIndex > 0 && startIndex < firstDelimiter) { >+ int endIndex = commentText.indexOf(ID_STRING_END, startIndex); >+ if (endIndex > 0 && endIndex < firstDelimiter) { >+ startIndex += ID_STRING_BEGIN.length(); >+ int p = startIndex; >+ while (p < endIndex) { >+ char c = commentText.charAt(p); >+ if (c < '0' || c > '9') { >+ break; >+ } >+ p++; >+ } >+ if (p == endIndex) { >+ attachmentID = commentText.substring(startIndex, endIndex); >+ if (!attachmentID.equals("")) { //$NON-NLS-1$ >+ attachIdToComment.put(attachmentID, comment); >+ } >+ } >+ } >+ } >+ >+ } >+ //}} Fixed by Hiroyuki > } > > private static class TaskComment {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259434
: 122679 |
124505