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