r4 - 15 Feb 2005 - 01:41:37 - SamHaslerYou are here: TWiki >  Codev Web > RenameKillsAttachmentsAndFormsBug
Tags:
, create new tag

Bug: Rename Kills Attachments and Forms

PeterThoeny pointed out that a renaming can cause the loss of attachments and form data.

Test case

  • Create topic TopicOne, with text TopicTwo
  • Create TopicTwo
  • Add form and/or attachment to TopicTwo
  • View TopicOne.
  • Select rename (via more)
  • Form and attachment data in TopicTwo lost

Fix record

In rename

Change line 188 from:

                next if( /^%META:TOPIC(INFO|MOVED)/ );

to:

           if( /^%META:TOPIC(INFO|MOVED)/ ) {
               $resultText .= "$_\n";
               next;
           }

Note that with the META:TOPICINFO line being lost, TWiki thought the pre meta format was being used and all meta data was swept away.

Environment

TWiki version: 01 Sep 2001
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- JohnTalintyre - 24 Sep 2001

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo