This question about Configuration: Closed unanswered

Renaming Bugs web and WebNotify

I've installed BugsContrib and confirmed all functionality. However, as on Foswiki.org I wanted to rename this to Tasks.

Renaming was fine, but I can no longer get WebNotify to function.

I checked and edited line 15 of /tools/genwebnotify from:

my $web = 'Bugs';

to

my $web = 'Tasks';

When the CronTab calls genwebnotify, it creates the WebNotify topic, but has no users appended to it though GenerateWebNotify topic does list users.

What did I miss?

genwebnotify works by viewing GenerateWebNotify and searching for "genuine users" who appear. "genuine users" is defined as "users who have a topic in $Foswiki::cfg{UsersWeb}". Crude, but fast. Maybe you are using ldap or some other scheme for identifying users such that they have no topic in $Foswiki::cfg{UsersWeb}? Hard to tell without more information about your configuration.

-- CrawfordCurrie - 06 Feb 2009


Nothing esoteric in my setup. FoswikiVM with standard login. The layout of the GenerateWebNotify topic appears the same in my instance as on Foswiki.org. The user topics to exist in Main As I mentioned it works fine after installing BugsContrib via bin/configure and adding the crontab entry. It's only after renaming the web via Bugs/WebHome?action=renameweb that Tasks/WebNotify no longer gets populated other than the beginning:

This topic is automatically generated by a script running on the server. The script analyses all the 'WaitingFor' and 'ReportedBy' fields in reports and generates this WebNotify. Don't waste your time trying to edit this topic; you can't. You can exclude yourself from all notification by adding yourself to the topic DontBugMe.

Even after editing line 15 of /tools/genwebnotify to my $web = 'Tasks';

I'm guessing it won't be uncommon to want a more general Tasks Web, so I'm happy to update the BugsContrib documentation, but so far I'm still stumped what else is missing here.


i'm not sure what's causing your problem, but i just wanted to point out that there's no need to modify the script; you can specify which web to process by passing it as a parameter on the command line:

0 0 * * *      ( cd /path/to/foswiki/bin && ../tools/genwebnotify Tasks && ../tools/mailnotify )

-- WillNorris - 06 Feb 2009

I'm sorry, but I just don't have enough information to be able to help with this. All I can suggest is that you check that there really are real users who should be notified, and if so, put some tracing statements into the genwebnotify script to see what it's missing.

Closing unanswered.

-- CrawfordCurrie - 14 Feb 2009

QuestionForm edit

Subject Configuration
Extension
Version
Status Closed unanswered
Topic revision: r6 - 14 Feb 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy