Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn Query Skips Tasks
Mylyn Query Skips Tasks [message #64777] Tue, 03 February 2009 14:35 Go to next message
Jason Kusnier is currently offline Jason KusnierFriend
Messages: 10
Registered: July 2009
Junior Member
I'm having a problem with mylyn queries not finding tasks. I'm using Trac
0.11.2.1 with the xml-rpc plugin. When I create a ticket through the normal
web interface mylyn has no problems pulling the ticket in. But when I send
an email to trac, mylyn never sees the ticket. I have verified that the
ticket does go into Trac just fine, and have also verfied the output of the
xml-rpc function. Also, when I use the find function on the task list and
hit the "Search repository for key or summary" it does find the ticket and
opens it just fine.


Has anyone seen this before? This used to work just fine for me and I'm not
sure what has changed.

Thanks!
-jason
Re: Mylyn Query Skips Tasks [message #64826 is a reply to message #64777] Wed, 04 February 2009 16:42 Go to previous messageGo to next message
Jason Kusnier is currently offline Jason KusnierFriend
Messages: 10
Registered: July 2009
Junior Member
I think I found a work around to this. Previously I had no other options in
the query selected other than just the owner field. I selected all options
in the status list and now the query works just fine.

Just thought I'd pass that along incase someone else ran into this.

-jason
Re: Mylyn Query Skips Tasks [message #64890 is a reply to message #64826] Thu, 05 February 2009 02:27 Go to previous messageGo to next message
Earl Tom is currently offline Earl TomFriend
Messages: 4
Registered: July 2009
Junior Member
On a slightly different note, is there a maximum number of Tasks that you
can get from a query? My "get everything" query only sees the first 100
tasks, though other queries see tasks with bigger ticket numbers.

I'm using Mylyn 3.0.4 with Trac 0.11.1 and the XML-RPC plugin, if that
matters.
Re: Mylyn Query Skips Tasks [message #64911 is a reply to message #64890] Thu, 05 February 2009 02:33 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Earl Tom wrote:
> On a slightly different note, is there a maximum number of Tasks that you
> can get from a query? My "get everything" query only sees the first 100
> tasks, though other queries see tasks with bigger ticket numbers.
>
> I'm using Mylyn 3.0.4 with Trac 0.11.1 and the XML-RPC plugin, if that
> matters.

Please file a bug for that. The Trac connector may not set an explicit limit
when querying the repository which causes queries to be limited to 100
results by default:

http://trac-hacks.org/ticket/3509

Steffen
Re: Mylyn Query Skips Tasks [message #65009 is a reply to message #64911] Thu, 05 February 2009 03:57 Go to previous messageGo to next message
Earl Tom is currently offline Earl TomFriend
Messages: 4
Registered: July 2009
Junior Member
Wow, that was fast!

But now that you've pointed out the problem, I think it can also be
considered a configuration issue.

There's a setting in the trac.ini configuration:

[query]
items_per_page = 100

Upping that number to 1000 takes care of the issue.

I can still open the bug if you'd like but the workaround is really simple.

Thanks again!
Re: Mylyn Query Skips Tasks [message #65036 is a reply to message #65009] Fri, 06 February 2009 13:48 Go to previous messageGo to next message
Jason Kusnier is currently offline Jason KusnierFriend
Messages: 10
Registered: July 2009
Junior Member
Has anyone filed this bug? If not I will.

The tweak worked for me, but I have other users that use Trac through the
web so I can't have their query defaults set too high.

Thanks for the help!
Re: Mylyn Query Skips Tasks [message #66501 is a reply to message #65036] Thu, 12 March 2009 20:08 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Jason Kusnier wrote:
> Has anyone filed this bug? If not I will.
>
> The tweak worked for me, but I have other users that use Trac through the
> web so I can't have their query defaults set too high.
>
> Thanks for the help!

I have filed this bug:

268427: query only returns first 100 matches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268427

Steffen

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Mylyn Query Skips Tasks [message #595995 is a reply to message #64777] Wed, 04 February 2009 16:42 Go to previous message
Jason Kusnier is currently offline Jason KusnierFriend
Messages: 10
Registered: July 2009
Junior Member
I think I found a work around to this. Previously I had no other options in
the query selected other than just the owner field. I selected all options
in the status list and now the query works just fine.

Just thought I'd pass that along incase someone else ran into this.

-jason
Re: Mylyn Query Skips Tasks [message #596019 is a reply to message #64826] Thu, 05 February 2009 02:27 Go to previous message
Earl Tom is currently offline Earl TomFriend
Messages: 4
Registered: July 2009
Junior Member
On a slightly different note, is there a maximum number of Tasks that you
can get from a query? My "get everything" query only sees the first 100
tasks, though other queries see tasks with bigger ticket numbers.

I'm using Mylyn 3.0.4 with Trac 0.11.1 and the XML-RPC plugin, if that
matters.
Re: Mylyn Query Skips Tasks [message #596025 is a reply to message #64890] Thu, 05 February 2009 02:33 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Earl Tom wrote:
> On a slightly different note, is there a maximum number of Tasks that you
> can get from a query? My "get everything" query only sees the first 100
> tasks, though other queries see tasks with bigger ticket numbers.
>
> I'm using Mylyn 3.0.4 with Trac 0.11.1 and the XML-RPC plugin, if that
> matters.

Please file a bug for that. The Trac connector may not set an explicit limit
when querying the repository which causes queries to be limited to 100
results by default:

http://trac-hacks.org/ticket/3509

Steffen
Re: Mylyn Query Skips Tasks [message #596031 is a reply to message #64911] Thu, 05 February 2009 03:57 Go to previous message
Earl Tom is currently offline Earl TomFriend
Messages: 4
Registered: July 2009
Junior Member
Wow, that was fast!

But now that you've pointed out the problem, I think it can also be
considered a configuration issue.

There's a setting in the trac.ini configuration:

[query]
items_per_page = 100

Upping that number to 1000 takes care of the issue.

I can still open the bug if you'd like but the workaround is really simple.

Thanks again!
Re: Mylyn Query Skips Tasks [message #596081 is a reply to message #65009] Fri, 06 February 2009 13:48 Go to previous message
Jason Kusnier is currently offline Jason KusnierFriend
Messages: 10
Registered: July 2009
Junior Member
Has anyone filed this bug? If not I will.

The tweak worked for me, but I have other users that use Trac through the
web so I can't have their query defaults set too high.

Thanks for the help!
Re: Mylyn Query Skips Tasks [message #596700 is a reply to message #65036] Thu, 12 March 2009 20:08 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Jason Kusnier wrote:
> Has anyone filed this bug? If not I will.
>
> The tweak worked for me, but I have other users that use Trac through the
> web so I can't have their query defaults set too high.
>
> Thanks for the help!

I have filed this bug:

268427: query only returns first 100 matches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268427

Steffen

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Previous Topic:Jira Hyperlinks in Code
Next Topic:WikiText and Bugzilla
Goto Forum:
  


Current Time: Mon Sep 16 23:23:17 GMT 2024

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

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

Back to the top