Bug 195658 - [web connector] query configuration 'preview' should show web page
Summary: [web connector] query configuration 'preview' should show web page
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Eugene Kuleshov CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
: 218350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-06 10:18 EDT by Alex Blewitt CLA
Modified: 2008-02-18 15:30 EST (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (2.77 KB, application/octet-stream)
2008-02-18 15:30 EST, Eugene Kuleshov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2007-07-06 10:18:52 EDT
Debugging a failed query is almost impossible in the web connector. There's a "preview" button which basically works only if the query is successful (in which case, there's not a lot of point in having it). 

What you should really be able to do is to be able to see the resulting page that comes back; it may be that the page you're getting isn't the one that you think you're getting, and as a result, the regexp is meaningless for that page. A debug preference or it just dumping output to the error log would be a start.

Similarly, the configuration of pages is mostly hack-it-and-see. There's no way you know whether the queries are working, unless it happens to work. An option to log/view/see the HTTP traffic that Mylyn's sending would be most useful.
Comment 1 Eugene Kuleshov CLA 2007-07-07 01:17:07 EDT
Alex, do you care to provide a patch?
Comment 2 Alex Blewitt CLA 2007-07-07 05:00:05 EDT
Anything's possible ...
Comment 3 anatoly techtonik CLA 2007-09-04 02:57:03 EDT
I wonder if it is possible to work out interface for various regex tester tools?
Comment 4 Eugene Kuleshov CLA 2007-09-04 10:32:14 EDT
Anatoly, anything is possible, but please create a separate enhancement request, because it only remotely related to this one and sounds like a separate feature.
Comment 5 Eugene Kuleshov CLA 2008-02-08 13:26:31 EST
*** Bug 218350 has been marked as a duplicate of this bug. ***
Comment 6 Larry Cai CLA 2008-02-18 02:33:33 EST
Any plan for this, I hacked for local "gforge" site, no clue as well, this feature shall be very useful, since I don't want to load mylyn source code to debug it.
Comment 7 Eugene Kuleshov CLA 2008-02-18 15:26:14 EST
There was hope that someone would step forward and contribute patch for this (hence bugday, helpwanted keywords)
Comment 8 Eugene Kuleshov CLA 2008-02-18 15:30:37 EST
...but since no one wanted to help and feature seem in demand, I had to take it myself.
Comment 9 Eugene Kuleshov CLA 2008-02-18 15:30:59 EST
Created attachment 89998 [details]
mylyn/context/zip