PasswordMaker Forums

Firefox/SeaMonkey/Mozilla/Netscape/Flock Browser Extension => Bugs => Topic started by: tobiasly on April 24, 2008, 08:43:39 PM

Title: WebDAV in Firefox 3 beta 5
Post by: tobiasly on April 24, 2008, 08:43:39 PM
I am using PasswordMaker 1.7.2 on Firefox 3b5 and can no longer use WebDAV download. Upload is successful, but download always returns "Error 0x-1". I have tried on 3 different computers. It worked fine for me using Firefox 2. I am not even seeing a GET hit in my Apache log when trying to download so something goes wrong before the attempt is even made.

Is anyone else using WebDAV successfully in FF3?
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Eric H. Jung on April 25, 2008, 12:44:35 AM
I haven't tested this for FF3b5. I'll try it this weekend and post back. If it doesn't work, I'll work on a fix.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: tobiasly on April 25, 2008, 01:37:22 PM
Thanks Eric, let me know if there is anything I can do to help testing!
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Gary on May 17, 2008, 02:50:44 AM
I'm having the same problem - it works with FF2 but not FF3.  However, I do have one computer using FF3 that is working.  I don't know why it works for one and not the others because they're all configured the same AFAIK.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Gary on May 21, 2008, 03:53:05 AM
I'm having the same problem - it works with FF2 but not FF3.  However, I do have one computer using FF3 that is working.  I don't know why it works for one and not the others because they're all configured the same AFAIK.

Actually, it's the same problem - uploads work but not downloads.  Any updates on this?  This is an important feature for me.

Thanks,

Gary
Title: Re: WebDAV in Firefox 3 beta 5
Post by: tobiasly on June 03, 2008, 02:28:15 AM
Just another data point, FF3-RC1 does not fix the issue...
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Peter on June 13, 2008, 11:25:59 AM
It's not just WebDAV, also the general upload/download. Download doesn't work.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: petervanderdoes on June 13, 2008, 05:17:48 PM
I forgot I had an user account here.

The problem exists with webdav and ftp download.

The error occurs when the line 184:
Code: [Select]
       this.streamLoader.init(this._channel, this , null);is executed in updownload.js
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Miquel 'Fire' Burns on June 13, 2008, 05:56:09 PM
I wonder if something had changed in Firefox 3 to cause this?
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Mike Nerone on June 18, 2008, 12:51:59 AM
Just wanted to make sure everyone knows the workaround, at least for downloading:

Visit the URL for your settings (.rdf) file in firefox itself. From the File menu, save it to your desktop (or wherever). Open up PasswordMaker (CTRL-`), right click in an empty area (not in the account list area) and select Import Settings. Select the RDF file and hit OK.

You can basically do the reverse for uploading, but I haven't tested how your other PasswordMaker installations (if you have any) might react to that.

Mike
Title: Re: WebDAV in Firefox 3 beta 5
Post by: tobiasly on August 01, 2008, 04:31:47 AM
Eric, were you ever able to debug further into this issue? Is there anything that regular users can do to help test this?

Thanks,
Toby
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Gary on October 29, 2008, 01:08:57 PM
Has any progress been made on this issue?  Is anyone working on a fix or enhancement for syncing settings between multiple machines?  I've been looking for a solution or workaround since FF3b was initially released.  So far, I haven't seen any responses from the developer.  It would really be helpful to see an update on this.  I like this utility but it is a hassle to keep the settings synced among computers.  Based on the number of downloads, I'm sure there are many others that would like to see a solution to this.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Miquel 'Fire' Burns on October 29, 2008, 03:55:41 PM
I believe the issue is that none of the developers use WebDAV themselves.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: tanstaafl on October 30, 2008, 10:20:07 AM
Besides, proper syncing - ala Foxmarks or something similar - would probably require PWM to be rewritten to use the sqlite database backend. This would open up a whole new slew of possibilities (easy sorting/listing, etc), but it is a whole lot of work too...

I truly wish I was independently wealthy, I'd just hire Eric (or someone else if he wasn't interested) to do it...
Title: Re: WebDAV in Firefox 3 beta 5
Post by: Miquel 'Fire' Burns on October 30, 2008, 01:17:05 PM
Thing is, do the other browsers PasswordMaker support have sqlite support? (Flock and Seamonkey)

If not, then there's no real point in switching. Also, the way PasswordMaker uses the data it has, the order on the select account screen will be database ordered most likely.
Title: Re: WebDAV in Firefox 3 beta 5
Post by: ilya.kosolapov on September 07, 2010, 06:23:31 PM
I came across this forum while trying to make WebDAV upload/download work in passwordmaker. I was experiencing the same issue: Error 0x-1 while trying to download, at line 184 in updownload.js. After researching the issue (see http://markmail.org/message/eczx6p2ub4fwiyai#query:nsIStreamLoader+page:1+mid:bbtaiykq5sphgzzc+state:results), the following fixes the problem:
replace line 184:
Code: [Select]
      this.streamLoader.init(this._channel, this , null);
with the following snippet of code:
Code: [Select]
      var appInfo = Components.classes["@mozilla.org/xre/app-info;1"]
                .getService(Components.interfaces.nsIXULAppInfo);
      var useOldLogic = appInfo.platformVersion.indexOf("1.8") == 0;
      if (useOldLogic) {
          this.streamLoader.init(this._channel, this, null);
      } else {
          this.streamLoader.init(this);
          this._channel.asyncOpen(this.streamLoader,this._channel);
      }

This fix has been tested in Firefox 3.6.8 on both Ubuntu 10.04.1 64-bit and Windows XP.

-ilya.