You are here: Foswiki>Tasks Web>Item13201 (15 Jan 2015, GeorgeClark)Edit Attach

Item13201: Configure fails to set, and then corrupts extension Module settings

pencil
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release:
Applies To: Engine
Component: Configure
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Configure still having difficulty with quoted strings, and pseudo-installed extensions.

  • Default git checkout of trunk
  • Installed EditChapterPlugin using pseudo-install.pl
  • Enabled the extension
  • Visited InstalledExtensions
    • #1 Extension failed to enable because {module} was not configured
  • Visited configure, enabled expert parameters
  • Navigated to {Plugins}{EditChapterPlugin}{module} and clicked the "restore default" button
  • Saved configuration
  • Module now set to: $Foswiki::cfg{Plugins}{EditChapterPlugin}{Module} = '\'Foswiki::Plugins::EditChapterPlugin\'';
    • #2 InstalledExtensions now reports:
'Foswiki::Plugins::EditChapterPlugin' could not be loaded.  Errors were:
syntax error at (eval 74) line 1, near "use 'Foswiki::Plugins::EditChapterPlugin'"

The two errors above, #1 might be an artifact of Pseudo-install, unsure. #2 is a configure issue I suspect.

-- GeorgeClark - 10 Jan 2015

Just tried to complete the steps you describe but it worked perfectly up to step 3. Questions:

So, I deleted the {Module} setting in LocalSite.cfg to see if I could reproduce the rest. The default was wrong - I that.

But I don't know what went wrong for you in the beginning.....

-- CrawfordCurrie - 15 Jan 2015

This seems to be fixed, in that the button to restore the default Module setting is gone. That was the bug. The Default was wrong.

I did simple pseudoinstall somePlugin no other options.

-- GeorgeClark - 15 Jan 2015
 

ItemTemplate edit

Summary Configure fails to set, and then corrupts extension Module settings
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Urgent
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 15 Jan 2015, GeorgeClark
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