Connecting with webdav to some Database Sources fails

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Anders
Posts: 4
Joined: Thu Mar 25, 2010 5:01 pm

Connecting with webdav to some Database Sources fails

Post by Anders »

I'm currently testing version 11.2 on OS X, and about 50% of my Database sources (webdav connections) fail with the message: "Error: 401 Unauthorized for:".

They work just fine on the 10.3 Windows-version, and the same goes for the 11.1-version on OS X.

Is this a known issue, do I have to "upgrade" some settings or ...?
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by adrian »

Hello,

Did you import them in 11.2 or you had them from 11.1?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Anders
Posts: 4
Joined: Thu Mar 25, 2010 5:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by Anders »

adrian wrote:Hello,
Did you import them in 11.2 or you had them from 11.1?
Regards,
Adrian
Hi,
I made a blank installation and typed them in again manually, so there should be no "upgrade/conversion" issues. I also tried removing them, and retyping them again several times, to no avail.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by adrian »

Hello,

The only known problem for WebDAV/FTP browsing is that it always starts browsing from the root of the webdav or ftp site.
So for: http://my.http/webdav/path/to/my/directory it will try to access http://my.http/webdav/

or for: ftp://my.ftp/path/to/my/directory it will try to access
ftp://my.ftp/

This can be a problem if the webdav/ftp site doesn't allow access outside of the user home directory.
But this problem was also in 11.1 so it wouldn't have worked there either.

Are any of these webdav repositories public so we could try to reproduce the problem?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by adrian »

Hi,

In case other people stumble upon the same problem...

It turned out to be a username problem. If the username contains a white space(or other special chars that get escaped) it is mistakenly escaped twice in the URL, so instead of user%20name it ends up as user%2520name and as a result the authentication fails.

I have added this problem to our bug tracking tool and we will resolve it in the next version of Oxygen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by adrian »

Hello,

This problem has been resolved in the latest build of Oxygen 11.2(build 2010061615). You can download it from our site:
http://www.oxygenxml.com/download.html
http://www.oxygenxml.com/build_history.html#2010061615 wrote:Fixed the escaping algorithm that made the authentication fail for the FTP and WebDAV data sources based on URLs containing a user name or a password with escapable characters.
Let us know if you encounter further problems with this build.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Anders
Posts: 4
Joined: Thu Mar 25, 2010 5:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by Anders »

adrian wrote:Hello,

This problem has been resolved in the latest build of Oxygen 11.2(build 2010061615). You can download it from our site:
http://www.oxygenxml.com/download.html

[...]

Let us know if you encounter further problems with this build.

Regards,
Adrian
It seems that this bug has re-emerged in the version I just purchased (XML Editor 11.2, build 2010031913 - Professional edition)

User names with spaces fail upon login ("Error: 401 Unauthorized for:").

/ Anders
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by adrian »

Hello,

The problem was resolved in build 2010061615. You are running build 2010031913 which is an older build that had this bug.

As mentioned above, please download and install the latest build(2010080212) of 11.2 from our website:
http://www.oxygenxml.com/download.html

Regards,
Adrian

PS: Build numbers are simple timestamps: yyyymmddhh
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Anders
Posts: 4
Joined: Thu Mar 25, 2010 5:01 pm

Re: Connecting with webdav to some Database Sources fails

Post by Anders »

Ouch... my bad. I'll download and upgrade immediately - sorry :-/
Post Reply