Closed Bug 188374 Opened 22 years ago Closed 22 years ago

File Association for OFX not picked up.

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: garymcm, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212

OFX files are associated with MS Money 2002 mnyimprt.exe. Any file of that
extension receives the MS icon and when executed is imported to Money. When on
Fleet's Homelink online banking site when I wish to download my current
statement I am asked to save or open. Howver Open has no default application
even though it has one. Realplayer streaming audio files do not suffer from this
same issue.

Reproducible: Always

Steps to Reproduce:
1. Need access to server that will allow a download an OFX file
2. Ensure MS MOney is installed (I am using 2002)
3. Try to download the OFX file. 

Actual Results:  
You get teh option to Open or Save, but Open has no default application although
the type OFX does have a default assigned to it.

Expected Results:  
It should have listed the Money Import program beside the Open with
When saving from a website, we should be using the content-type they send us,
not the extension.  What content-type is listed in that dialog?
the dialog shows application/ofx
Hmm.... would you be willing to look up some registry entries for me?
Yes. At your service ....
1)  What is the value of "Extension" under the key
    "HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/ofx"?
2)  What is the value of "application/ofx" under the key
    "HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Suffixes"?
3)  What are the keys/values under the key "HKEY_CLASSES_ROOT\.ofx"?

I suspect I know what the problem is at this point, but this is my first serious
look at the windows helper app code (I do the Unix stuff usually), so please
bear with me....
1. No entry under this key.
2. As with 1.
3. 2 values: 1. (default) REGSZ ofx.Document  2. Content Type REGSZ text/ofx
   1 Key : ofx.Document with 1 value (dafault) REG_SZ (value not set) and 1 Key
ShellNew (dafault) REG_SZ (value not set).

Interestingly there is an entry application/x-ofx under MIME.

OK.  So the problem is that nsOSHelperAppService::GetFromExtension on windows
never sets the app to anything useful... this is fine if the dialog does not
come up, since it does the lookup for the app in LaunchWithTempFile and launches
it.  But if the dialog _does_ come up, it doesn't have the appname in it...

Bug 86640 may help by offering a "open in default app" option on the dialog.

jesup, you want this in case 86640 does not help?
Depends on: 86640
Gary, I checked in a patch just now that should help this... Could you possibly
try tomorrow morning's build?
Boris, would be glad to. I am new to Mozilla so if you don't hear from me, I am
trying to find the build ;-).
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest you want one of the
mozilla-win32 builds (likely mozilla-win32-installer-sea.exe).  Just make sure
the timestamp is from 01/12/03 or later.  ;)
Just tested lasted build and saw the new dialog. I selected "Open with default
Application" and this worked correctly. THANK YOU!!
Great to hear that it works now; marking FIXED.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
All is not well with this fix. I have been trying open other default MIME types
and and getting the full exception:

The instruction at 0x61e18fe6 referenced memory at "0x00000004". The memory
could not be "read".

I am getting this from web based URLS but also simply navigating on my local
drive to a MSWORD document, clicking on it and selecting Open With Dafault.

I am marking as "reopened".
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Sorry I should always try that *last* thing before writing a bug report. I used
the installer exe to install the latest build from yesterday and it is working
OK now ....
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Marking verified per reporter's last comments
Status: RESOLVED → VERIFIED
This was working for me for a while, but has broken in the last week or two, in
both the 1.3 branch builds (both release candidates), and the trunk
(2003031108). I currently get the behaviour that whether I select "default
application" or type in the app manually the download window just disppears with
no action taken when it finishes. I believe the first release candidate was when
the problem started.

My website serves the ofx file as "text/ofx", rather than "application/ofx", if
that makes a difference. Seeing as how "application/x-ofc" works fine for me
still, the 'text' being the problem seems like a reasonable assumption. 

I contacted Gary directly and he indicated that it is still working fine for him
on 2003031108. I'm on Windows 2000, MS Money 98.
Matthew, sounds like you're seeing a different bug.  Could you please file it,
cc me, attach your mimeTypes.rdf file, and point to a URL that fails?
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.