[Zope] Does SiteRoot Interfere With Copy-Paste?

Chris Hinds chris@palefish.co.uk
Wed, 12 Dec 2001 13:56:05 +0000


On Tuesday 11 December 2001  1:33 am, Dan Shafer wrote:

> This works fine except in one of my folders. The only difference I
> can see between the folders where it does work and this renegade is
> that the folder where it doesn't work has a SiteRoot and the others
> don't.
>
> In this folder, the Paste button just never appears. Everywhere else
> on the site, it's fine.

This one confused me for a bit. 

The site root tansforms all the URLs in its folder, even the management 
interface ones. Thus, as Dieter points out, the cookie which implements the 
'cut' function will be set as coming from the domain that your siteroot is 
set to. So, when you visit a different folder, you are effectively visiting a 
different domain, and consequently your browser doesn't make the original 
cookie with the 'cut' information available. Therefore, it appears to zope as 
if there's nothing on the clipboard.

Don't know if that makes it any clearer. 

I'm not sure if the 8080 thing will work, but you can always get around it by 
using the 'export' button instead.

hth,
Chris.