Tags:
create new tag
, view all tags

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 | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-02-15 - SamHasler
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.