← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673512] Re: Attachments as file URL's have wrong path in web client

 

UNC paths are not supported in the URL field (as it's not a URL), it's
an OS implementation detail that this works correctly in the GTK client
on windows (it very likely won't work on other platforms, it crashed my
GTK client hard when I tried it on my machine).

After looking at it, the web client does *no* treatment of the provided
value before putting it in an HTTP link (the raw UNC path remains in the
href attribute), the alterations you can see are performed by your
browser as it looks for a URL, finds something which doesn't look like
an absolute URL and therefore considers it is relative to the current
resource (I'm guessing).


** Changed in: openobject-client-web
       Status: Incomplete => Invalid

-- 
Attachments as file URL's have wrong path in web client
https://bugs.launchpad.net/bugs/673512
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Invalid

Bug description:
In latest trunk vers 3850.

To reproduce :-

Go to Knowledge-> Documents
Import a Document of type file type network link,  eg \\workserver\files\A35919.pdf (you cannot do this thru web client - it only accepts http addresses which is reasonable)

Save

Then click on the link in the same document. The link tries to go to http://openerp/openerp/\\workserver\files\A35919.pdf instead of just \\workserver\files\A35919.pdf as the GTK client correctly does.

Please can you fix this so it replicates the behaviour of the gtk client





References