• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
I am having problems attaching some files. When I try to attach a file that looks like name(WikiWord).txt the resulting html (in the show/hide attachments section) broken. I am using the default PatternSkin

If the name does not have parentheses or the text inside the paren's is not a WikiWord, things work fine.

Here is the html of a working and nonworking attachment. On the second line (the one that does not work), note the extra (and wrong) span tags around the filename.

<tr><td bgcolor="#FFFFFF" class="twikiFirstCol"> <img width="16" alt="txt" align="top" src="/twiki/pub/TWiki/TWikiDocGraphics/txt.gif" height="16" border="0" /><span class="twikiHidden">txt</span> </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/viewfile/Sandbox/AttachProblem?rev=1;filename=T(wikiWord).txt">T(wikiWord).txt</a> </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/attach/Sandbox/AttachProblem?filename=T(wikiWord).txt&amp;revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#FFFFFF" align="right"> 0.1&nbsp;K </td><td bgcolor="#FFFFFF"> 07 Dec 2006 - 16:27 </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/view/Main/KevinKalmbach" class="twikiLink">KevinKalmbach</a> </td><td bgcolor="#FFFFFF"> &nbsp; </td></tr>

<tr><td bgcolor="#FFFFFF" class="twikiFirstCol"> <img width="16" alt="txt" align="top" src="/twiki/pub/TWiki/TWikiDocGraphics/txt.gif" height="16" border="0" /><span class="twikiHidden">txt</span> </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/viewfile/Sandbox/AttachProblem?rev=1;filename=T(<span class="twikiNewLink">WikiWord<a rel="nofollow" href="/twiki/bin/edit/Sandbox/WikiWord?topicparent=Sandbox.AttachProblem" title="Create this topic"><sup>?</sup></a></span>).txt">T(<span class="twikiNewLink">WikiWord<a rel="nofollow" href="/twiki/bin/edit/Sandbox/WikiWord?topicparent=Sandbox.AttachProblem" title="Create this topic"><sup>?</sup></a></span>).txt</a> </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/attach/Sandbox/AttachProblem?filename=T(<span class="twikiNewLink">WikiWord<a rel="nofollow" href="/twiki/bin/edit/Sandbox/WikiWord?topicparent=Sandbox.AttachProblem" title="Create this topic"><sup>?</sup></a></span>).txt&amp;revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#FFFFFF" align="right"> 0.1&nbsp;K </td><td bgcolor="#FFFFFF"> 07 Dec 2006 - 16:45 </td><td bgcolor="#FFFFFF"> <a href="/twiki/bin/view/Main/KevinKalmbach" class="twikiLink">KevinKalmbach</a> </td><td bgcolor="#FFFFFF"> &nbsp; </td></tr>

Thanks for all your help.


Attaching (WikiWord).txt for demonstration.

-- SP

ItemTemplate
Summary attach a filename with paraens and wikiwords
ReportedBy TWiki:Main.KevinKalmbach
Codebase 4.0.5
SVN Range TWiki-4.1, Tue, 28 Nov 2006, build 12081
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14124 TWikirev:14125
TargetRelease minor
ReleasedIn 4.2.0
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt (WikiWord).txt r1 manage 0.1 K 2007-01-14 - 19:22 SteffenPoulsen Attaching (WikiWord).txt for demonstration
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback