and merged just now for 2.12.3-git-01 :-)
thanks!
On Mon, Jun 24, 2024 at 10:27 AM Ulf Dittmer
wrote:
>
> Rull request created: https://github.com/apache/jspwiki/pull/350
>
> On Sun, Jun 23, 2024 at 12:43 PM Ulf Dittmer
> wrote:
>
> > Thanks Dirk, I wasn't aware of the findFreeEntry method. It
Rull request created: https://github.com/apache/jspwiki/pull/350
On Sun, Jun 23, 2024 at 12:43 PM Ulf Dittmer
wrote:
> Thanks Dirk, I wasn't aware of the findFreeEntry method. It basically
> confirms that there is no built-in method to search for pages by pattern,
> and that a linear search must
Thanks Dirk, I wasn't aware of the findFreeEntry method. It basically
confirms that there is no built-in method to search for pages by pattern,
and that a linear search must be employed. Practically, I think checking
the first 10 or so would be sufficient, as it would be highly unusual to
write mor
Ulf,
The problem seems to be in o.a.w.tags/CalenderTag.java in getDayLink().
It only checks for the page with the pattern
${param.page}_blogentry_'ddMMyy'_1
; which has the suffix "_1".
I guess it should actually also check for the existence of pages with a
higher _nn.
It should stop at MAX_BL
The CalendarTag, when deciding whether to link a particular day, assumes
that the presence or absence of a page "..._blogentry_'ddMMyy'_1' indicates
whether there are weblog entries for a given day (this is in Sidebar.jsp).
The problem is, if the first entry on that day (the one with ..._1) is
del