AW: [Zope-dev] [Zope] WebDAV/Excel readonly problem

2004-09-16 Thread Kai Hoppert
Hi

This may be a problem with your outlook version we had the same problem also in newer 
zope versions. The problem is that outlook marked the first time you want to edit it 
as locked and don't close the flag. Try to use the newwest version of Office. With it 
the problem should no longer be there.

Greetings

Kai

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
Dirksen
Gesendet: Freitag, 17. September 2004 00:50
An: [EMAIL PROTECTED]
Betreff: [Zope-dev] [Zope] WebDAV/Excel readonly problem


Hi,

I want to open and edit a file (living on Zope) in Excel through WedDAV. But the 
problem
is whenever I open the file, it's always marked as read-only, even though I'm logging 
in
as the manager role (I use http://username:[EMAIL PROTECTED]/file as the open link). I
test this in the OpenOffice Spreadsheet as well, and the result is the same: it opens 
it
as read-only through WebDAV. My zope is Zope 2.6.4. Anyone has an idea how to solve 
this
problem?

Thanks
Dirksen



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope 2.7.2, restrictedTraverse or hasattr

2004-08-02 Thread Kai Hoppert
Hi all,

i actually have a Problem with restrictedTraverse and hasattr.

Object1
Object2
Object3


I want to test if there exists a Object in Object3 wich has the same id and meta type 
how Object2 (id=myobject).
so i ask

Object3.restrictedTraverse('myobject',None) or

hasattr(Object3,'myobject')

i every time get's true back. I know that he jump's to Object2. i testet this with 
absolute_url, but this makes no sense i think. Either i never noticed that this both 
funktions works in this way or it is a bug. If it is no bug has anybody a solution for 
my problem?

Greetings

Kai Hoppert 
___
tomcom Gesellschaft für Informationstechnologie mbH
Heuriedweg 14 | D-88131 Lindau
Fon +49 (0)8382 975844 | Fax +49 (0)8382 975855
[EMAIL PROTECTED] | http://www.tomcom.de

This document should only be read by those persons to whom it is addressed and is not 
intended to be relied upon by any person without subsequent written confirmation of 
its contents.  tomcom disclaims all responsibility and accepts no liability for the 
consequences of any person acting, or refraining from acting on the contents of this 
document.  Any unauthorised form of dissemination, copying, disclosure, modification, 
distribution and/or publication of this message is strictly prohibited. For 
information about tomcom please contact us on +49.8382.975844 or visit our web site at 
www.tomcom.de


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Zope 2.7.2, restrictedTraverse or hasattr

2004-08-02 Thread Kai Hoppert
Ok found a solution in using aq_explicit

Greetings

Kai Hoppert 
___
tomcom Gesellschaft für Informationstechnologie mbH
Heuriedweg 14 | D-88131 Lindau
Fon +49 (0)8382 975844 | Fax +49 (0)8382 975855
[EMAIL PROTECTED] | http://www.tomcom.de

This document should only be read by those persons to whom it is addressed and is not 
intended to be relied upon by any person without subsequent written confirmation of 
its contents.  tomcom disclaims all responsibility and accepts no liability for the 
consequences of any person acting, or refraining from acting on the contents of this 
document.  Any unauthorised form of dissemination, copying, disclosure, modification, 
distribution and/or publication of this message is strictly prohibited. For 
information about tomcom please contact us on +49.8382.975844 or visit our web site at 
www.tomcom.de


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] manage_afterAdd +webdav + two times called

2004-07-16 Thread Kai Hoppert
Hi all,

zope2.7.2-RC1
cmf 1.4.4

i tried and tested a bit around with webdav and noticed that manage_afterAdd is called 
two times in putting a file into Plone . Yea i know this is not the list for Plone but 
i think this is more a problem from zope, webdav and cmf. 

 File /var/lib/zope271/lib/python/webdav/NullResource.py, line 110, in PUT
ob = factory(name, typ, body)

__
 
File /var/lib/zope271/lib/python/webdav/NullResource.py, line 127, in PUT
self.__parent__._setObject(name, ob)

These two lines from the traceback are the mainproblem i think. First manage 
manage_afterAdd will be called after creating the Object and second it is called after 
writing the object into zodb. 

Is this intended that manage_afterAdd is called two times?? Shouldn't it only called 
after writing the data to zodb.

Below i posted the whole traceback wich was produced.

Greetings Kai

  File /var/lib/zope271/lib/python/ZServer/PubCore/ZServerPublisher.py, line 23, in 
__init__
response=response)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 389, in publish_module
environ, debug, request, response)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 180, in 
publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
  File 
/var/lib/zope271/instance/default/Products/PlacelessTranslationService/PatchStringIO.py,
 line 51, in new_publish
x = Publish.old_publish(request, module_name, after_list, debug)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 101, in publish
request, bind=1)
  File /var/lib/zope271/lib/python/ZPublisher/mapply.py, line 88, in mapply
if debug is not None: return debug(object,args,context)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 39, in call_object
result=apply(object,args) # Type scr to step into published object.
  File /var/lib/zope271/lib/python/webdav/NullResource.py, line 110, in PUT
ob = factory(name, typ, body)
  File /var/lib/zope271/instance/default/Products/CMFCore/PortalFolder.py, line 336, 
in PUT_factory
self.invokeFactory( typeObjectName, name )
  File /var/lib/zope271/instance/default/Products/CMFCore/PortalFolder.py, line 363, 
in invokeFactory
, kw
  File /var/lib/zope271/instance/default/Products/CMFCore/TypesTool.py, line 709, in 
constructContent
ob = apply(info.constructInstance, (container, id) + args, kw)
  File /var/lib/zope271/instance/default/Products/CMFCore/TypesTool.py, line 398, in 
constructInstance
id = apply( m, args, kw ) or id  # allow factory to munge ID
  File string, line 4, in addVCard
  File /var/lib/zope271/lib/python/OFS/ObjectManager.py, line 276, in _setObject
object.manage_afterAdd(object, self)
  File /var/lib/zope271/instance/default/Products/VCard/VCard.py, line 239, in 
manage_afterAdd
print print_stack()
None

  File /var/lib/zope271/lib/python/ZServer/PubCore/ZServerPublisher.py, line 23, in 
__init__
response=response)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 389, in publish_module
environ, debug, request, response)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 180, in 
publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
  File 
/var/lib/zope271/instance/default/Products/PlacelessTranslationService/PatchStringIO.py,
 line 51, in new_publish
x = Publish.old_publish(request, module_name, after_list, debug)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 101, in publish
request, bind=1)
  File /var/lib/zope271/lib/python/ZPublisher/mapply.py, line 88, in mapply
if debug is not None: return debug(object,args,context)
  File /var/lib/zope271/lib/python/ZPublisher/Publish.py, line 39, in call_object
result=apply(object,args) # Type scr to step into published object.
  File /var/lib/zope271/lib/python/webdav/NullResource.py, line 127, in PUT
self.__parent__._setObject(name, ob)
  File /var/lib/zope271/lib/python/OFS/ObjectManager.py, line 276, in _setObject
object.manage_afterAdd(object, self)
  File /var/lib/zope271/instance/default/Products/VCard/VCard.py, line 239, in 
manage_afterAdd
print print_stack()
___
tomcom Gesellschaft für Informationstechnologie mbH
Heuriedweg 14 | D-88131 Lindau
Fon +49 (0)8382 975844 | Fax +49 (0)8382 975855
[EMAIL PROTECTED] | http://www.tomcom.de

This document should only be read by those persons to whom it is addressed and is not 
intended to be relied upon by any person without subsequent written confirmation of 
its contents.  tomcom disclaims all responsibility and accepts no liability for the 
consequences of any person acting, or refraining from acting on the contents of this 
document.  Any unauthorised form of dissemination, copying, disclosure, modification, 
distribution and/or publication of this message is