Tags:
create new tag
view all tags

SID-01219: WebTopMenu.txt file 'corrupted' by editor

Status: Answered Answered TWiki version: 5.0.1 Perl version: v5.8.8 built for x86_64-linux-thread-multi
Category: TopMenuSkin Server OS: Red Hat Linux 5.6, kernel 2.6.18-238 Last update: 14 years ago

We recently migrated to

TWiki-5.0.1, Sun, 10 Oct 2010, build 19570, Plugin API version 1.3

We'd like to modify the WebTopMenu to add convenient links for users. When we edit then simply save, without changing a single character, the file seems to get busted. I have to revert to a previous version to get the Top Menu back for the web. In looking at the files before and after I see this:

WORKS:


%INCLUDE{"%SYSTEMWEB%.TopMenuSkin"}% <div class="twTopMenuTab">%STARTINCLUDE% %INCLUDE{%SYSTEMWEB%.TopMenuSkinHomeMenu}%

BROKEN (after editor save):


%INCLUDE{"%SYSTEMWEB%.TopMenuSkin"}%

%STARTINCLUDE% %INCLUDE{%SYSTEMWEB%.TopMenuSkinHomeMenu}%


The phrase "<div class="twTopMenuTab">" is missing.

In addition, the next line, the one that begins

    • [[%BASEWEB%.%HOMETOPIC%]...
Gets completely re ordered and is now missing "<nop>" from the phrase <nop>%MAKETEXT{"[_1] Web"

I tried this in both Firefox and IE and the result is the same. We got this sort of working once by copying the original to Notepad, editing there, and copying the text back but even that is not working now.

Any thoughts on where to look?

Thanks...glenn

-- GlennStasse - 2011-06-30

Discussion and Answer

Argh, this WYSIWYG editor tends to corrupt system pages. Best to use the raw edit when editing system pages. You can restore a previous topic revision: Go to "More topic actions", then "Restore topic to revision".

-- PeterThoeny - 2011-06-30

Yep, that did it. Thanks, Peter.

Just a note to others. You have to use the RawEdit link at the bottom of the page. Don't just change to raw (pick axe) mode after using the edit button at the top of the page. That will get you the same bad result.

-- GlennStasse - 2011-06-30

This is now fixed in the latest release of the TopMenuSkin, see TWikibug:Item6763.

-- PeterThoeny - 2011-07-02

      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 Answered
Title WebTopMenu.txt file 'corrupted' by editor
SupportCategory TopMenuSkin
TWiki version 5.0.1
Server OS Red Hat Linux 5.6, kernel 2.6.18-238
Web server Apache/2.2.13
Perl version v5.8.8 built for x86_64-linux-thread-multi
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-07-02 - 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.