• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3942: Issues encountered installing DatabasePlugin

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension DatabasePlugin Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

DatabasePlugin

Issues encountered installing DatabasePlugin on TWiki 4.1.2.

  • 1) Could not install through configure -> FindMoreExtensions
    as Plugins/DatabasePlugin is not tagged as TestedOnTWiki 4.x
    so the regex on Plugins/FastReport does not find it;
      name=\"TestedOnTWiki\"[^}]*[456789][.][0-9]"
    also what is that "[.]" doing - should that not be "\." instead? As in
      name=\"TestedOnTWiki\"[^}]*[456789]\.[0-9]"
    Downloaded and installed the old way.
    Impact: Minor.
    Actions:
    • Test DatabasePlugin on TWiki 4.x and mark it as tested
    • Correct the regex on FastReport as it will currently match "TestedOnTWiki 1999"

  • 2) Had to tweak the ./lib/TWiki/Configure/TWikiCfg.pm to get ./view/configure to show all sections from ./lib/TWiki/Plugins/DatabasePlugin/Config.spec
    in
      sub _parse
    commented out
      # last if ($sectionNum && !$haveLSC);
    Not sure what the implications are.
    Impact: Major? - I think this affects all configurable Plugins that use multiple sections.
    Actions:
    • Implement suggested fix?

  • 3) There was no ./bin/DatabasePluginEdit file so I had to grab one from an old release and tweak it (attached).
    This file could probably do with a bit of tidying up.
    Impact: Minor - only affects DatabasePlugin Edit functionality.
    Actions:
    • Tidy up DatabasePluginEdit and include it in the plugin zip.

  • 4) Had to tweak the ./lib/TWiki/Plugins/DatabasePlugin/DATABASE_EDIT.pm to get the right field for database name.
    Changed
      my $database = $dbinfo->{name}
    to
      my $database = $dbinfo->{database};
    Impact: Minor - only affects DatabasePlugin Edit functionality.
    Actions:
    • Implement suggested fix.

-- TWiki:Main/ThomasSchodt - 24 Apr 2007

Thanks Thomas.

  • Yes, there are known problems with older versions of TWikiCfg.pm. Work in progress. (2) is already fixed in subversion.
  • (3) I removed the DatabaseEdit script because it is specific to mySql, and needed a lot of work. it should not be part of the release until someone has put a lot of work into it
  • I fixed (4).
  • And (5)
I'm closing this now; the issue with the edit script deserves a report of it's own.

CC

ItemTemplate
Summary Issues encountered installing DatabasePlugin
ReportedBy TWiki:Main.ThomasSchodt
Codebase 4.1.2
SVN Range TWiki-4.1.2, Sun, 15 Apr 2007, build 13419
AppliesTo Extension
Component DatabasePlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13518
TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext DatabasePluginEdit r1 manage 3.3 K 2007-04-24 - 14:40 ThomasSchodt gleaned from an old release and tweaked to work with TWiki 4 (@INC stuff)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-04-24 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback