Bug #10918
Swing client PDF loading does not work
0%
History
#1 Updated by Greg Shah 8 months ago
- File hotel_gui_swing_export_button_load_failure.png added
- File hotel_gui_swing_guests_tab.png added

When you click on the Export button, you get this failure:

The file does exist:
-rw-rw---- 1 ges ges 225238 Nov 21 14:42 /tmp/fwd-7038947786486853080/97b875b4-87df-4217-a0ee-2395beaec8431763754166584.pdf
The directory permissions:
drwxrwx--- 2 ges ges 80 Nov 21 14:42 fwd-7038947786486853080
#2 Updated by Constantin Asofiei 8 months ago
Greg, the above I get when opening with PDFs with Firefox automatically. I need to copy-paste the link into chrome and it will work.
I've seen this with Firefox for a long time, including outside of FWD.
#3 Updated by Greg Shah 8 months ago
- Priority changed from Normal to Low
You're right. It seems like a Firefox issue. The same URL works in Chrome. Since I have Firefox as my default browser, I see this issue.
Sergey: The HTML file loads but in FF it cannot load the PDF. Any thoughts?
This is low priority.
#4 Updated by Sergey Ivanovskiy 8 months ago
- File FirefoxPdfSettings.png added
Do you have the same settings in Firefox for pdf?

#5 Updated by Sergey Ivanovskiy 8 months ago
In my environment this functionality works with Firefox too, I was able to press Export and pdf report became displayed in new Firefox tab. But for Firefox I need to add web client certificate to exception server set and this looks odd because I need to add web client certificate for https://192.168.100.28:7449 and then to restart the server that this server address can be displayed by Firefox.

#6 Updated by Sergey Ivanovskiy 8 months ago
For the embedded application it needs to enable popups from the server.