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
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/Util.pm line 116.
Also, the
referring_topics
URL parameter is only documented in
CommandAndCGIScripts as "internal use only".
--
GeorgeClark 12 June 2012