Tags:
create new tag
view all tags

Bug: Use of uninitialized value in pattern match and sh: syntax error

In attempting a 'save changes' after a 'preview changes', a blank page appears with the '1>' symbol in the upper left hand corner. At the same time, I am getting following error in Apache error log:

[Thu Apr 10 12:17:31 2003] null: Use of uninitialized value in pattern match (m//) at ../lib/TWiki/Store/RcsFile.pm line 371. sh: syntax error at line 1: `<' unexpected sh: syntax error at line 1: `<' unexpected

Looks like similar problem encountered in other bug reports where $filename was removed as parameter to the sub isAsciiDefault. It appears as though the attachAsciiPath value in the settings hash is not being set in this particular call.

Test case

Environment

Solaris 2.5 mod_perl/1.27 Apache/1.3.27
TWiki version: 01-Sep-2001 distribution
TWiki plugins: none
Server OS: Solaris
Web server: Apache
Perl version: 5.8
Client OS: Windows 2000/XP
Web Browser: MS IE, Netscape

-- CharlieSmith - 10 Apr 2003

Follow up

Fix record

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-04-14 - CharlieSmith
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.