Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » CoreException from BugzillaClient#parseHtmlError
CoreException from BugzillaClient#parseHtmlError [message #596264] Sun, 15 February 2009 22:42
Alexander Karnstedt is currently offline Alexander KarnstedtFriend
Messages: 68
Registered: July 2009
Member
Hi

I want to add an attachment to an existing Bug with
BugzillaClient#postAttachment. It works but I get a CoreException from
#parseHtmlError.

org.eclipse.core.runtime.CoreException: A repository error has occurred.
at
org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.pars eHtmlError(BugzillaClient.java:1351)
at
org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.pars eHtmlError(BugzillaClient.java:1260)
at
org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.post Attachment(BugzillaClient.java:700)


Seems #parseHtmlError expects to find a String within the returned HTML page
title (like "changes submitted") - instead the returned title is "attachment 6
added to bug 1".

I'm using Bugzilla 3.2.2

Is it a compatibility issue? Should I simply ignore those CoreExceptions?

Regards
Alex
Previous Topic:Download and upload attachments via API (Bugzilla)
Next Topic:Changelogs and release notes for Mylyn components
Goto Forum:
  


Current Time: Wed Nov 26 10:22:32 GMT 2014

Powered by FUDForum. Page generated in 0.02830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software