Hi, I'm using jedit 3.2.2 to edit files via FTP. With DTML Documents everything goes fine. But if I edit Python files or Z SQL Methods and store the files back into Zope they change to DTML Documents. Any hints? Thank you Egon Frerich
search the mailing list archives for PUT_factory. cheers, Chris e.frerich@nord-com.net wrote:
Hi, I'm using jedit 3.2.2 to edit files via FTP. With DTML Documents everything goes fine. But if I edit Python files or Z SQL Methods and store the files back into Zope they change to DTML Documents.
Any hints?
Thank you
Egon Frerich
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
e.frerich@nord-com.net writes:
Hi, I'm using jedit 3.2.2 to edit files via FTP. With DTML Documents everything goes fine. But if I edit Python files or Z SQL Methods and store the files back into Zope they change to DTML Documents. Chris already pointed you to the "PUT_factory".
Apparently, your FTP editor has an additional problem: It seems to rename the object being edited, store the new object and then delete the renamed one. That is very bad, as the FTP editable content is only part of the Zope objects. The approach above loses all other aspects of the object: properties, history, security settings, ... See whether you can configure your FTP client not to rename the object but modify it in place. Otherwise, you probably should look for an alternative that can be configured that way. Dieter
[Dieter Maurer]
e.frerich@nord-com.net writes:
Hi, I'm using jedit 3.2.2 to edit files via FTP. With DTML Documents everything goes fine. But if I edit Python files or Z SQL Methods and store the files back into Zope they change to DTML Documents. Chris already pointed you to the "PUT_factory".
Apparently, your FTP editor has an additional problem:
It seems to rename the object being edited, store the new object and then delete the renamed one.
That is very bad, as the FTP editable content is only part of the Zope objects. The approach above loses all other aspects of the object: properties, history, security settings, ...
See whether you can configure your FTP client not to rename the object but modify it in place. Otherwise, you probably should look for an alternative that can be configured that way.
EditPlus seems to handle them right, if you are on Windows. Tom P
participants (4)
-
Chris Withers -
Dieter Maurer -
e.frerich@nord-com.net -
Thomas B. Passin