• 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.

Item5467: Pickaxe saves absolute URL instead of ATTACHURL

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal Closed   patch 4.2.1

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


When saving a topic from pickaxe the image URL is the full path instead of %ATTACHURL%
  • Open a topic in Wysiwyg
  • Add an image (does not matter if it is actually attached) using the image tool. Use a simple file name like image.jpg
  • Save the topic. You now see in raw view that the image URL is %ATTACHURL%/image.jpg
  • Open the topic again with Wysiwyg
  • Use the pickaxe tool. Note that the image URL is now a full URL. This is probably due to the fact that TMCE gets the full URL when you edit a topic to be able to show it as an actual image so this is sort of OK. But when hitting the pickaxe the rest script should really do the same as when you save and translate the URL to ATTACHURL when it matches the pattern for ATTACHURL.
  • Now save while you are still in pickaxe mode.
  • The saved result is the full URL and not the attachurl

This is not a serious bug but it is a potential problem to use a full URL if you later change the domain name of the server and it also seems confusing for the user.

If you later reopen the same topic that was saved in pickaxe mode, and save it again then the URL gets translated to the correct ATTACHURL.

-- TWiki:Main/KennethLavrsen - 23 Mar 2008

What version of WysiwygPlugin/TinyMCEPlugin are you using? Does this still happen since the fixes I did recently to attachment URLs?

-- CrawfordCurrie - 27 Mar 2008

SVN checkout 16580 and pseudo-install of TWikiRelease04x02.

Ie latest and greatest. Just repeated the step by step above and it is easy to see the problem.

When you save from pickace mode the image URLs are full URL. When saving from Wysiwyg mode it is correctly saved with %ATTACHURL

-- TWiki:Main.KennethLavrsen - 28 Mar 2008

This one is confirmed fixed on SVN 16889

Setting to waiting for release

-- KennethLavrsen - 11 Jun 2008

Summary Pickaxe saves absolute URL instead of ATTACHURL
ReportedBy TWiki:Main.KennethLavrsen

SVN Range TWiki-5.0.0, Sun, 09 Mar 2008, build 16496
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed


TargetRelease patch
ReleasedIn 4.2.1
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2008-08-04 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback