You are here: Foswiki>Tasks Web>Item11940 (02 Dec 2012, GeorgeClark)Edit Attach

Item11940: rename script cannot be used from CLI. Fails on several issues

Priority: Normal
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: FoswikiUIRename
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
CommandAndCGIScripts seems to say it should work from the shell, but:

  • It returns without any results if the query method is not POST - which is not applicable to cli scripts.
  • (In the CGI environment it really ought to throw an error, not just "return")
  • At completion of rename, it does a CGI redirect, which fails with:
    • rename: Use of uninitialized value within @param in lc at /usr/lib/perl5/vendor_perl/5.12.2/CGI/ line 116.

Also, the referring_topics URL parameter is only documented in CommandAndCGIScripts as "internal use only".

-- GeorgeClark 12 June 2012

ItemTemplate edit

Summary rename script cannot be used from CLI. Fails on several issues
ReportedBy GeorgeClark
Codebase 1.1.5, trunk
SVN Range
AppliesTo Engine
Component FoswikiUIRename
Priority Normal
CurrentState Closed
Checkins distro:04c23fa5c5be distro:df2230483ff5
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:04c23fa5c5be
Release01x01Checkins distro:df2230483ff5
Topic revision: r5 - 02 Dec 2012, 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