• 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.

$oldCfgFile is never set with --upgradeTopics, script dies because it cannot find it


$outputDir must refer to the data dir (different to other options)
TWiki::Upgrade::UpdateTopics::UpdateTopics() is called without $updateObj as first param, but this isn't created anyway...
Usage incorrectly refers to old setlib.cfg instead of new one

my quick fix was to hard-code all params into the script, create the $updateObj and fix the call to UpdateTopics()


Regraded as requirement; upgrade is one of the first things a punter will hit.

CC

calling it with an updateObj is kinda important

I recon svn:8201 fixes it, and makes the help actually reflect how it needs to be called

-- SD

ItemTemplate
Summary UpgradeTwiki dies on --upgradeTopics (Dec 17 release)
ReportedBy DietmarBerg
Codebase

SVN Range Thu, 22 Dec 2005 build 7896
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 8201
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff UpgradeTWiki.diff r1 manage 2.1 K 2005-12-26 - 05:44 DietmarBerg Context-diff
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-01-10 - SvenDowideit
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback