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.
-
hotfix-4.0.4-4.tgz is best for Linux/Unix as it contains the correct file access rights
-
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