De : Alain MAINAR [mailto:[EMAIL PROTECTED]
Envoyé : mardi 11 avril 2006 15:50
À : '[email protected]'
Objet : Modifier en ligne: Prise en compte des modifications fonction du format de fichier
-----Message d'origine-----
De : Alain MAINAR [mailto:[EMAIL PROTECTED]
]Envoyé : mardi 11 avril 2006 17:17
À : 'Chris McDonough'
Objet : RE: Trouble with ExternalEditor
From the ZMI, it works fine...
The following temp files are created:
-> tmpkbbt-7-localhost,8080,Anomalie_CR_Clinicom.doc
-> ~$pkbbt-7-localhost,8080,Anomalie_CR_Clinicom.doc
-> ~DF1466.tmp
-> ~DF172B.tmp
-> ~DF1A23.tmp
-> ~DF1E05.tmp
-> ~WRF0000.tmp
Modifying & saving leads to two more files:
-> ~DFFDC4.tmp
-> ~DFFE43.tmp
-> ~WRL0002.tmp
Leaving from Word (back to the ZMI) -> All temp files erased; and, most important, changes are stored !
Conclusion: the trouble comes probably from the way NuxeoCPS uses ExternalEditor.
I'm going to inform the team which works on this product.
Thank you again very much for your help !
Best Regards,
A. MAINAR
Service informatique
Centre Chirurgical Marie Lannelongue
133 avenue de la Résistance
92350 Le Plessis-Robinson
France
-----Message d'origine-----
De : Chris McDonough [mailto:[EMAIL PROTECTED]] Envoyé : mardi 11 avril 2006 17:02 À : [EMAIL PROTECTED] Objet : Re: Trouble with ExternalEditor
Hi Alain,
Could you try this without CPS being involved? E.g. upload a Word document into a Zope "File" object in your Zope's root folder via the ZMI and try to invoke external editor against it by clicking on the pencil icon next to it? Are the results the same?
- C
On Apr 11, 2006, at 10:51 AM, Alain MAINAR wrote:
Thank you for your so quick answer...
Here is the result of a simple experience I've just made:
1- Delete all files in C:\Documents and Settings\alain.mainar\Local Settings\Temp\ -> empty directory
2- Open NuxeoCPS with Internet Explorer
3- Select a Word File to modify -> Ok - ExternalEditor launches Word, this file opens for changes / 7 files appear in C:\Documents and Settings\alain.mainar\Local Settings\Temp\:
-> ~WRF0000.tmp
-> ~DF7981.tmp
-> ~DF759F.tmp
-> ~DF72A9.tmp
-> ~DF6FE3.tmp
-> ~$pmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file
-> tmpmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file
4- Change a few things in the file
5- Save (from Word, floppy disk icon)
6- Three new files appear in C:\Documents and Settings\alain.mainar \Local Settings\Temp\ (the previous files are still there...):
-> ~DF6416.tmp
-> ~$pmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file.doc
-> tmpmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file.doc
7- Quit from Word
8- Two files remain in C:\Documents and Settings\alain.mainar\Local Settings\Temp\, namely:
-> tmpmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file.doc
-> tmpmrvzd1-localhost,cps,workspaces,gardes-urgences,reseau-ccml,downloadFile,file,file
9- Exiting from NuxeoCPS does not change anything, those two files still remain in the Temp directory. Of course, the Word file has not been updated in CPSNuxeo
The funny thing is that editing Excel or PowerPoint does not lead to the same result (again starting from an empty temp dir):
1- When ExternalEditor launches Excel (or PowerPoint), two new temp files are created in C:\Documents and Settings\alain.mainar\Local Settings\Temp\:
-> ~DF36A9.tmp
-> tmp6ieeqs-localhost,cps,workspaces,gardes-urgences,tableau-excel,downloadFile,file,file
2- Again, a few changes, save, etc... NO NEW TEMP FILES CREATED in C:\Documents and Settings\alain.mainar\Local Settings\Temp\ (AND THIS IS THE BIG DIFFERENCE WITH WORD FILE EDITING !!)
3- Exiting from Excel, and re-opening the modified file: Ok, all changes are there !! AND NO MORE TEMP FILES in C:\Documents and Settings\alain.mainar\Local Settings\Temp\
I guess that the trouble is somewhat related to temp files , but I don't know how...
Thank you for any idea you could have !!!
Best Regards,
A. MAINAR
Service informatique
Centre Chirurgical Marie Lannelongue
133 avenue de la Résistance
92350 Le Plessis-Robinson
France
-----Message d'origine-----
De : Chris McDonough [mailto:[EMAIL PROTECTED]] Envoyé : mardi 11 avril
2006 16:10 À : [EMAIL PROTECTED] Objet : Re: Trouble with
ExternalEditor
There used to be a bug in the Excel and Word ExternalEditor plugins that caused a document to not be saved if you didn't explicitly press the "Save" button (i.e. if you quit word/excel on a changed document without saving and answered "yes" to "do you want to save this document?") But I believe these were fixed.
Are you sure that the document data is not being stored by a cache?
I haven't had any bug reports like this in about two years.
On Apr 11, 2006, at 10:05 AM, Alain MAINAR wrote:
Dear Sir,
I have recently installed ExternalEditor v.0.9.1, but I'm in trouble for the following reason.
When I use ExternalEditor to edit a file created with Excel or PowerPoint (2003), everything is allright. All changes made to the file are saved and taken into account (i.e. my Excel or PowerPoint file is updated - I find all changes made if I re-open the file).
But if I try the same with Word 2003, this does not work. I open the file, ExternalEditors launches Word, my file opens, I make all necessary changes, and of course I save the all stuff. Then I quit.
Back to NuxeoCPS, if I try to re-open the file, it appears that all changes were lost !!
I've no idea about what can be done...
Could you please help me ?
Thank you very much.
_______________________________________________ cps-users-fr Adresse de la liste : [email protected] Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
