It's all about the answers!

Ask a question

Behavior differences downloading files from IE or Firefox


Todd Goldstein (76119) | asked Oct 15 '10, 10:21 a.m.
I have noticed strange behavior with assets containing Lotus Symphony .odp file when trying to open or save them. Here are the scenarios I have been working with.

RAM v7.2.0.2
Firefox v3.6.10
IE v6 SP3 & v7

With Firefox...
1. Search and drill into asset with the .odp file associated.
2. Click link for file listed in the Featured Content section or go to Content link and click on file
3. Window appears asking to open or save the .ODP file.
4. Saving file adds .opd file to location. Opening file opens directly in Symphony.

With IE...
1. Search and drill into asset with the .odp file associated.
2. Click link for file listed in the Featured Content section or go to Content link and click on file
3. Window appears asking to open or save a .ZIP file.
4. .ZIP file does not contain the .opd file

**I was able to download the .odp file if I click the Download this Asset button. This still asks me to save a .zip file but this time the .odp file is there.

**With IE, I do not have this prolem with .ppt files. Going through the same steps, I can click on a .ppt file in the Featured Content section and it will open or save that file.

Is this expected behavior with RAM and the different browsers?
Is there a browser setting that would allow consistent behavior?

6 answers



permanent link
Eric Bordeau (27632) | answered Oct 15 '10, 10:54 a.m.
JAZZ DEVELOPER
Could you try renaming the file by changing the .zip to .opd and see if it will open in Symphony? I know the new MS Office file formats are just zip files and I think we do something special so we don't treat them as zips. Maybe the .opd files are the same way and we aren't treating them as such.

permanent link
Todd Goldstein (76119) | answered Oct 15 '10, 11:55 a.m.
In IE, saving the file as .opd worked. Rather than saving the file as a zip, it was an odp format and launched properly in Symphony.

Why does IE require this but not Firefox? Should I enter this as an RFE?

permanent link
Rich Kulp (3.6k38) | answered Oct 15 '10, 1:51 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

This is a known problem with I.E. It uses the returned mimetype to
determine what to load, and if the mimetype isn't set, it sees that the
contents is really a zip file (ODF files are actually under the covers a
zip file) before taking a look at the extension.

So you need to have your RAM Websphere server have the correct mimetypes
installed. See:

http://www-01.ibm.com/support/docview.wss?rcss=faqtt_3Q09&uid=swg21269129

Thanks,
Rich

permanent link
Samir Shah (1623) | answered Oct 25 '10, 1:20 p.m.
Hi,

I took a look at the MIME types per the link below:


http://www-01.ibm.com/support/docview.wss?rcss=faqtt_3Q09&uid=swg21269129

However, this references Office 2007. If we take the following example from the link above:
<mimeTypes xmi:id="MimeEntry_91" type="application/msword">
<extensions>doc</extensions>
<extensions>docx</extensions>
</mimeTypes>

What would be the correct parameters for the ODF files? For example, would it look like this (as I'm unsure of type, etc):
<mimeTypes xmi:id="MimeEntry_918909123" type="application/symphony">
<extensions>odp</extensions>
<extensions>ods</extensions>
<extensions>odt</extensions>
</mimeTypes>

permanent link
Rich Kulp (3.6k38) | answered Oct 25 '10, 2:11 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I don't know if this is the official site or not, but this link contains
the Open Office MIME types. Probably better to use this list than for
you to hard code to Symphony. If you did that then all of your users of
RAM would be required to use Symphony instead of any Open Office
application.

http://books.evc-cit.info/odbook/ch01.html

--
Rich Kulp
Rational Asset Manager developer

permanent link
Ben Tran (16) | answered Nov 15 '10, 3:04 p.m.
I solved the issue by adding these lines to virtualhosts.xml

<mimeTypes>
<extensions>odp</extensions>
</mimeTypes>

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.