Tags:
create new tag
view all tags

SID-02363: Problem with svn version on perl 5.26.1

Status: Asked Asked TWiki version: 6.0.2 Perl version: 5.26.1
Category: CategoryEditing Server OS: Ubuntu 18.04 Last update: 7 years ago

Hi, I tried to run the latest svn version of TWiki and found a problem when I try to edit a document with inserted images. This is the message in the error log: [Thu Jun 28 09:10:47.245723 2018] [cgi:error] [pid 6471] [client 127.0.0.1:56488] AH01215: [Thu Jun 28 09:10:47 2018] edit: Use of uninitialized value $value in transliteration (tr///) at /var/www/twiki/lib/TWiki/Prefs/PrefsCache.pm line 257.: /var/www/twiki/bin/edit, referer: http://localhost/do/login/LoraProject/TheNopLoRAWanStarterKit?t=1530169840;nowysiwyg=0;origurl=/do/edit/LoraProject/TheNopLoRAWanStarterKit%3ft%3d1530169840%3bnowysiwyg%3d0 After this error the wysiwyg editor does not start. Uli

-- TWiki Guest - 2018-06-28

Discussion and Answer

Not sure why an undefined value is passed on to this function. Could you try to add this on line 257 of lib/TWiki/Prefs/PrefsCache.pm just before $value =~ tr/\r//d; :

$value = '' unless ( defined($value) );

-- Peter Thoeny - 2018-06-29

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Asked
Title Problem with svn version on perl 5.26.1
SupportCategory CategoryEditing
TWiki version 6.0.2
Server OS Ubuntu 18.04
Web server apache2
Perl version 5.26.1
Browser & version firefox
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2018-06-29 - PeterThoeny
 
  • 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.