Opened 7 years ago

Closed 4 years ago

# Not all matching tickets showing up in calendar

Reported by: Owned by: Steffen Hoffmann Steffen Hoffmann normal WikiTicketCalendarMacro major ticket query Ryan J Ollos, Tobias Johansson 0.11

### Description

While we went past ticket no. 116 in an application with WikiTicketCalendarMacro being part of the central collaboration information page, I noticed that new tickets no longer showed up on day of creation for unknown reasons.

After some research I know, they are still found by TicketQuery as it reports in DEBUG log output. But there is a relevant Trac configuration option in trac.ini':

[query]
items_per_page = 100


Higher values there will let the tickets in question show up again in the calendar view. This will definitely impose a limitation for Trac applications with high ticket creation rate.

### comment:1 Changed 7 years ago by Steffen Hoffmann

Severity: normal → major new → assigned

Where to set the limit? Is it possible to effectively unset this temporarily, i.e. per TicketQuery call, to allow for keeping limit tight for other uses, where this limit should apply as well. And as a minor, but most irritating question: Why did I see it with ticket no. 117 while setup is items_per_page = 100? BTW, there are no deleted tickets in that application.

The effect is somewhat hard to spot, therefor most annoying. While you could increasing value of aforementioned config option quite easily, it is definitely desirable to get rid of that WikiTicketCalendarMacro limitation inherited from Trac without any trac.ini change. Changing trac.ini should be seen as a known workaround. Let's have a closer look, if there's another way out of this.

### comment:2 Changed 5 years ago by Tobias Johansson

My stab at fixing this problem: macro.py.patch. Elegant? No. Works? Yes

### comment:3 Changed 5 years ago by Tobias Johansson

Forgot to say that the patch is for the 0.12 branch

### comment:4 Changed 5 years ago by Steffen Hoffmann

(In [11742]) WikiCalendarMacro: Really get all matching tickets, refs #7653.

Thanks to Tobias Johansson for pointing me into the right direction with his proposed patch for WikiTicketCalendarMacro 0.12 branch.

### comment:5 Changed 5 years ago by Steffen Hoffmann

Please consider switching to the upstream code, because this is the current development stage, where all bug fixing and new code inclusion happens.

I'm very grateful, that you helped to close one of the few remaining tickets, that held the next generation of WikiCalendarMacro back from initial release.

### comment:6 Changed 4 years ago by Steffen Hoffmann

Resolution: → fixed assigned → closed

(In [12842]) WikiCalendarMacro: Releasing current, tested macro package as final product, closes #64, #578, #6636, #7564, #7653, #8818, #9568, #9718 and #9719.

After a long time one of the oldest Trac hacks (see changeset [53]) is united with its ambitious fork WikiTicketCalendarMacro for convenience. While maintaining separate wiki pages for both macros, upstream development continues together in the source:wikicalendarmacro/trunk branch.

### Modify Ticket

Change Properties