• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
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 |
|
Detail
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:
- 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:
--
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