jspwiki icon indicating copy to clipboard operation
jspwiki copied to clipboard

Fix problematic CalendarTag <-> WeblogPlugin interaction

Open udittmer opened this issue 8 months ago • 1 comments

As discussed recently on the mailing list, CalendarTag fails to link to a day that does have blog entries if the very first entry got deleted. This patch works around that by allowing for up to 3 blog entries (the pages with the ..._1, ..._2 and ..._3 endings) to have been deleted, and will still detect the 4th one. This number can be configured using the CalendarTag.NUM_PAGES_TO_CHECK constant.

udittmer avatar Jun 24 '24 08:06 udittmer