Susan,
This problem was introduced in uPortal 2.3 when George Lindholm =20=
changed the URL format for download workers to get around some browser =20=
problems. You can see the discussion on the Dev list mid-June with =20
subject line "uPortal url format issue". It was causing serious =20
problems for portions of HyperContent that open a new window that =20
reloads and loads graphics, as it was changing the directory context of =20=
the page; so for those screens I have it hard-coded to strip off =20
everything before the "tag", reverting to the old URL format which, for =20=
now, still works. I have not seen it cause problems for simple file =20
downloads, however: if this is the case, that would affect every =20
channel that uses the uPortal download worker, and is therefore really =20=
a uPortal bug. It could be hacked around in line 70 of =20
UploadEditor.java, to use the same logic found in the =20
getDownloadWorkerURL method of CContentManager.java (strip off =20
everything before the "tag"). There is no guarantee this will work =20
with future versions of uPortal, however. Fortunately, all these =20
problems will go away in HyperContent 2, which acts as a standalone web =20=
server, and everything is accessible through very normal looking urls.
By the way, I'd encourage you to join the mailing list. Right now I =20
have to approve each of your posts since you're not a member, and =20
sometimes that can introduce an unnecessary delay in response.
Alex
On Nov 23, 2004, at 5:41 PM, Susan Bramhall wrote:
> I am running into a problem with downloads.=A0 When in the =20
> upload/download=A0 screen for an xml file the bottom of the page =20
> contains a link for getting the download (with text: "Right Click to =20=
> Download file").=A0 The url is (for example): =20
> http://[server]/uPortal/=20
> worker%2Fdownload%2Ftag.idempotent.worker.download.target.n562.uP?=20
> -2467498002549516683
>
> The escaped forward slashes in the url after the uPortal context =20
> cause problems for the mod_jk2 connector and Apache such that I get a =20=
> file not found error.=A0 If I change the escape sequences '%2f ' to =20=
> slash '/ ' then it works.=A0 However, I believe the whole portion =
after =20
> uPortal/ and before tag should not be there.=A0 The channel seems to =20=
> have a method getDownloadWorkerURL which is getting called and is =20
> stripping the extraneous part out yet the url still appears.
>
> Can you tell me how to get the url to come out correctly?
>
> Thanks.
> Susan
> =20=
|