Item8110: SkillsPlugin is broken when running with ModPerlContrib

pencil
Priority: Low
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: SkillsPlugin
Branches:
Reported By: Foswiki:Main.UlrichSpoerlein
Waiting For:
Last Change By: UlrichSpoerlein
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

ItemTemplate edit

Summary SkillsPlugin is broken when running with ModPerlContrib
ReportedBy Foswiki:Main.UlrichSpoerlein
Codebase 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SkillsPlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins
ReleasedIn
Topic revision: r3 - 26 Sep 2009, UlrichSpoerlein
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