jspwiki icon indicating copy to clipboard operation
jspwiki copied to clipboard

Fix problematic CalendarTag <-> WeblogPlugin interaction

Open udittmer opened this issue 1 year 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

The build fails with this message - I don't know what needs doing to resolve it, but it doesn't seem to have anything to do with the code changes.

[ERROR] Failed to execute goal on project jspwiki-210-adapters: Could not resolve dependencies for project org.apache.jspwiki:jspwiki-210-adapters:jar:2.12.3-SNAPSHOT: The following artifacts could not be resolved: org.apache.jspwiki:jspwiki-210-test-adaptees:jar:tests:2.12.3-SNAPSHOT (absent): org.apache.jspwiki:jspwiki-210-test-adaptees:jar:tests:2.12.3-SNAPSHOT was not found in https://repository.apache.org/snapshots during a previous attempt.

udittmer avatar Jun 24 '24 15:06 udittmer

Hi @udittmer! the PR has been merged in 2.12.3-git-01, thanks! :-)

juanpablo-santos avatar Jul 07 '24 20:07 juanpablo-santos