Ticket #840 (closed Bug: Fixed)

Opened 2 years ago

Last modified 2 months ago

Part-Editor-Applet doesn't work with MS Word 2007/2010

Reported by: idbr Owned by: somebody
Priority: Major Milestone:
Component: Frontend - doc editing Version:
Keywords: Cc:

Description

When using the part-editor-applet with a MS Word document on a computer (Vista or 7) with Office 2007 or 2010, an error is given (unable to save due to some permission problems) when trying to save the document.

This error is reproducible on the Daisy demo site (http://demo.daisycms.org/).

Attachments

patch.txt (671 bytes) - added by idbr 2 years ago.
ticket-840-improved.patch (1.4 KB) - added by Matthias Bauer <matthias.bauer.drs@…> 2 years ago.
improved patch for the problem (implementing is.close() in a try/finally block)

Change History

comment:1 Changed 2 years ago by idbr

I've located the problem: the getMD5Sum-function forgets to close the FileInputStream, and as a result the file is locked by the applet.

Patch attached.

Changed 2 years ago by idbr

comment:2 Changed 2 years ago by Matthias Bauer <matthias.bauer.drs@…>

The patch works for me as well. But IMHO it'd be better to put the I/O stuff into a try/finally block. Improved patch attached.

Thanks a lot for the hint.

Changed 2 years ago by Matthias Bauer <matthias.bauer.drs@…>

improved patch for the problem (implementing is.close() in a try/finally block)

comment:3 Changed 17 months ago by karel

  • Status changed from new to closed
  • Resolution set to Fixed

Applied in r5927. Thanks for your contributions.

comment:4 Changed 2 months ago by anonymous

Xianlie Zhong Road, Guangzhou 510070, China.Surgery USA (in USD) India (in USD) Intragastric balloon surgery 12,809 2,860 Gastric banding surgery 18,000 5,470 Sleeve gastrectomy surgery 24,000 6,180 For more information on Economical and Low cost Intragastric balloon surgery in India visit us at www.As discussed earlier that breastfeeding your baby can use up lots of calories, consider this method.The problem is, as hostess, I had no time for photos.There were some babies whose parents didn't show up very often. pregnancy diet chart You may become fatigued easier, so take things slowly.One can watch the pregnancy videos on the internet sitting at home and even down load it on the PC to watch it later.

Note: See TracTickets for help on using tickets.