Tags:
create new tag
, view all tags

Hotfix 4 for TWiki 4.0.4

This fourth hotfix for TWiki-4.0.4 contains the fixes for the important Known Issues found since the release of TWiki-4.0.4

The idea is to provide a more customer friendly approach to providing fixes to the more urgent problems found between releases and provide a quick and easy way for a TWiki administrator to install the hotfix by simply downloading a zip or tgz file, unpack it and copy all the files on top of an existing running production site (a backup is as always recommended).

The Hotfixes are accumulated and contains all the fixes released in earlier Hotfix packages. So you only need to apply the latest Hotfix package to update your current TWiki installation.

Download and Apply the Hotfix

Download the package from either zip or tgz.

  • Download hotfix-4.0.4-4.tgz is best for Linux/Unix as it contains the correct file access rights
  • Download hotfix-4.0.4-4.zip is best for Windows or for a hosted environment where you prefer getting default file access rights.

To make it easy for all - the hotfix is a zip or tgz file with the files placed in the same directories as a normal twiki installation. Simply copy the files on top of the existing files.

On Unix/Linux you may need to re-apply the correct file access rights to the replaced files. See SettingFileAccessRightsLinuxUnix for a quick way to do this in general.

Note that the hotfix is accumulated. It contains all fixes from earlier hotfix releases. You do not need to apply any earlier hotfixes first. If you have already applied an earlier hotfix this is no problem. The same files will simply be over written again

Known Problems Resolved in this Hotfix

All bug fixes from Hotfix 4.0.4-1, Hotfix 4.0.4-2, and Hotfix 4.0.4-3

See HotFix04x00x04x01, HotFix04x00x04x02, and HotFix04x00x04x03 for detailed lists of earlier fixes.

Item2625 - %SEARCH% does not work when non-wikiword used in topic="" parameter

Bugs:Item2525 - When you create a SEARCH and the topic in which you search is not a wikiword, nothing is found. This fix enabled using SEARCH with topic parameter that has dashes or underscores in topic names.

File updated is lib/TWiki/Search.pm

Item2859 - Attachments are being named the full path name instead of the filename only

Bugs:Item2859 - Attachments are being named the full path name instead of the filename only when you upload with Internet Explorer (introduced by Hotfix 3). What happened was that the file uploaded was named something like C:\My_Documents\Picture\mydog.jpg instead of just mydog.jpg. After having applied this fix you will need to scan your installation for files named long names like this and manually rename them back. You will also need to edit the topic and edit the wrong filenames. It can take a while to fix if many people have attached from Internet Explorer since you applied hotfix 3.

This hotfix also seems to cure an old bug that all attachments were marked as autoattached even though they were not.

Files update are lib/TWiki/Sandbox.pm and lib/TWiki/UI/Upload.pm

Item2746 - Disable tag parameter issue in preview

Bugs:Item2746 - Preview a topic that has an HTML form. As per spec, all form fields are disabled. However, the disabled="disabled" parameter has no trailing space, resulting in invalid HTML code. Some browsers may fail because of this or alter values when saving.

File update is lib/TWiki/UI/Preview.pm

Item2856 - make TWikiForms defined in another web clickable in "changeform"

Bugs:Item2856 - Given that you have " * Set WEBFORMS = SomeTWikiForm, AnotherWeb.AnotherTWikiForm" in WebPreferences, AnotherTWikiForm is not clickable in "changeform" because the code checks existence of the topic AnotherWeb.AnotherTWikiForm in the current web instead of checking for AnotherTWikiForm in AnotherWeb. This makes it difficult to reuse forms from other webs. This should improve the situation.

File updated is lib/TWiki/UI/ChangeForm.pm

Item2721 - Newly created topics have wrong version number when using RcsLite

Bugs:Item2721 - When you use are forced to use RcsLite instead of normal RCS you may experience that newly created topics have a wrong revision. This bugs fix resolves this. It has no impact on installations using normal RCS.

File updated is lib/TWiki/Store/RcsLite.pm

Files Updated in this Hotfix

(accumulated list)

bin/.htaccess.txt
bin/configure
data/TWiki/
data/TWiki/EditTablePlugin.txt
data/TWiki/TWikiAccessControl.txt
data/TWiki/CommentPlugin.txt
data/TWiki/TWikiVariables.txt
data/TWiki/VarSEARCH.txt
data/TWiki/CommentPluginTemplate.txt
INSTALL.html
lib/TWiki.pm
lib/TWiki/
lib/TWiki/Prefs/
lib/TWiki/Prefs/PrefsCache.pm
lib/TWiki/Prefs/Parser.pm
lib/TWiki/Render.pm
lib/TWiki/Users/
lib/TWiki/Users/TWikiUserMapping.pm
lib/TWiki/Net.pm
lib/TWiki/Search.pm
lib/TWiki/UI.pm
lib/TWiki/Store/
lib/TWiki/Store/RcsLite.pm
lib/TWiki/Store/RcsFile.pm
lib/TWiki/UI/
lib/TWiki/UI/ChangeForm.pm
lib/TWiki/UI/Preview.pm
lib/TWiki/UI/Upload.pm
lib/TWiki/UI/Save.pm
lib/TWiki/UI/Register.pm
lib/TWiki/UI/Manage.pm
lib/TWiki/UI/View.pm
lib/TWiki/Prefs.pm
lib/TWiki/If.pm
lib/TWiki/Templates.pm
lib/TWiki/Sandbox.pm
lib/TWiki/Store.pm
lib/TWiki/Access.pm
lib/TWiki/Plugins/
lib/TWiki/Plugins/EditTablePlugin/
lib/TWiki/Plugins/EditTablePlugin/Core.pm
lib/TWiki/Func.pm
pub/TWiki/
pub/TWiki/TWikiJavascripts/
pub/TWiki/TWikiJavascripts/twiki.js
templates/
templates/messages.tmpl
twiki_httpd_conf.txt

-- Contributors: KennethLavrsen - 14 Sep 2006

Discussion

The hotfix-4.0.4-4.tgz file is named .gz on downloading. Rename to .tgz ending.

-- TomKline - 23 Jan 2008

No, it is IE that has a known bug and renames the download. You can see for yourself by trying to download with Firefox

-- KennethLavrsen - 23 Jan 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivetgz hotfix-4.0.4-4.tgz r1 manage 257.1 K 2006-09-14 - 21:32 KennethLavrsen tgz of accumulated Hotfix 4 for TWiki-4.0.4
Compressed Zip archivezip hotfix-4.0.4-4.zip r1 manage 284.9 K 2006-09-14 - 21:34 KennethLavrsen Zipped accumulated Hotfix 4 for TWiki-4.0.4
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-01-23 - KennethLavrsen
 
  • 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.