Item8110: SkillsPlugin is broken when running with ModPerlContrib
Priority: Low
Current State: Closed
Released In:
Target Release:
Hi, when running
SkillsPlugin with mod_perl and the corresponding CGI handler, concurrency issues show up. I'm running Foswiki 1.0.4 on
FreeBSD 7.1 with Perl 5.9, mod_perl 2.0.4 and Apache 2.2.11.
Flipping Apaches
SetHandler from cgi-script to perl-script will result in the following:
- Adding new categories, skills or moving them does not show up on all apache children, only an apache restart will get all instances up to speed
- Adding new skills for the individual user only saves the data to the users meta data in about 10% of all cases
Not related to mod_perl is that in the "Category" selection box I see each category listed n times, where n is the number of skills in that category. So having these skills:
Foo:a,b,c
Bar:x,y
Will make the category drop down box list:
Foo
Foo
Foo
Bar
Bar
--
UlrichSpoerlein - 12 Apr 2009
I rewrote most of the code, including elimination of most of the global variables which would have cuased these problems. Please try again with the latest code, and see if the problems are still there.
--
CrawfordCurrie - 12 Sep 2009
Thanks Crawford,
I had the chance to test this and can no longer reproduce the strange behavior.
--
UlrichSpoerlein - 26 Sep 2009