Search the FirstSpirit Knowledge Base
Hi,
My environment:
FirstSpirit Client 4.2.437.44763
Server version: 4.2.437.44763
Java version: 1.6.0_21 32bit Sun Microsystems Inc.
Operating system: Windows 7 6.1 x86
The problem I want to report is related to the integrated preview mode in FS client when using the Mozilla Firefox browser engine.
Whenever I open a web page which contains a download link (XLS,zip, txt, PDF, DOC, …), it is impossible to download the resources file from preview mode working with Firefox integrated engine.
Here are few useful tests scenarios which might help you understanding/locating the issue:
Here is a basic script that I use:
//!Beanshell
importde.espirit.firstspirit.client.gui.applications.*;
importde.espirit.firstspirit.client.gui.applications.browser.*;
browserConfig =BrowserApplicationConfiguration.GENERATOR.invoke().title("DownloadTest");
br = context.connection.getService(ApplicationService.class).openApplication(BrowserApplication.TYPE,browserConfig).getApplication();
br.openUrl("www.pdfpdf.com/samples/xlsdemo1.xls");
Of course, in our application users should be able to navigateto the appropriate web page and download the file they need (case nr. 1).
After doing some debug, I observed the HTTP Response stream is handled before download action starts.
When doing the same test scenarios with IE browser-engine,everything works fine (from the above scenarios perspective); but, after navigating to a web page and downloading (save or open) the resources (XLS file) the page (where the download started) remains blocked and users cannot navigate to any other page after the download is done.
As the download actions are often required in our application we would definitely need to have available and working the download functionality (through the FS preview mode).
Please let me have your solution / suggestion in order to fix these problems.
Thanks,
Marius
Are you refering to the integrated preview or a BrowserApplication (AppCenter) or both? Your example scripts indicate that you're working with the integrated browsers within the AppCenter context, but you mention the preview mode several times as well.
integrated browsers within the AppCenter context
This bug is already fixed in 4.2.439.
Great. This fix probably came after I reported the bug on the helpdesk site. Thanks