Item13462: Guess the {Plugins}{...extension...}{Module} setting if missing

pencil
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Configure, FoswikiPluginsAPI
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
When loading plugins, if {...}{Module} is undefined, we really ought to guess {Plugins}{...}{Module}='Foswiki::Plugins::$name'

I tried it and deleted a module definition and things still work. This would avoid some pain, especially since we don't have any easy way to go back and add a Module definition

-- GeorgeClark - 18 Jun 2015

Crawford, any thoughts. Seems to work fine and helps the "just work" model we are trying to get to with the bootstrap.

-- GeorgeClark - 18 Jun 2015

Yes, Good idea.

-- CrawfordCurrie - 18 Jun 2015

Well, I'm at a loss. On Beta1 it was reporting an error if {Module} was missing. But on beta 2, it all just works. I removed all of the {Module} settings from LocalSite.cfg and still it all just works. Worse, I cannot figure out where this is getting defined.

This is a No Action, and I have no idea why.

-- GeorgeClark - 18 Jun 2015

PEBCAK - I was probably testing one vhost while editing the config for a different vhost. Confirmed. and simple fix makes things a bit more reliable. Though this issue typically is only encountered with pseudo_install.

-- GeorgeClark - 27 Jun 2015
 

ItemTemplate edit

Summary Guess the {Plugins}{...extension...}{Module} setting if missing
ReportedBy GeorgeClark
Codebase 1.2.0 beta2, 1.2.0 beta1, trunk
SVN Range
AppliesTo Engine
Component Configure, FoswikiPluginsAPI
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:a603df80af9d
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:a603df80af9d
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 05 Jul 2015, GeorgeClark - This page was cached on 31 Aug 2016 - 02:33.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License