WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products". I am now sure, I have seen it. It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why.... You can use it anyway: http://<your zope>/Control_Panel/DavLocks/manage I will report, when I found out why it is no longer shown. Dieter
Thank you for this info. I did install 2.4.2 today. It does not show the panel neither. However it can be called directly trough the url you provided. Robert ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 5:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Dieter Maurer writes:
... DavLocks lost in Control_Panel ... It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why.... I found the reason for the missing WebDAV Lock Manager:
The "Application Manager" instance "Control_Panel" has its own private instance of "_objects" and does not use that of its class. In this private instance the WebDAV Lock Manager is missing while it is present in the class. This means, nothing serious. Maybe, the Zope maintainers should ensure that the "Control_Panel" instance has the lock manager. It is obviously useful. Dieter
The WebDAV manager seems to be invisible only for Zope installations that have been upgraded from 2.3 to 2.4. With a fresh 2.4 installation the WebDAV manager is visible in the control panel. _objects of the ApplicationManager gets initialized only once when Zope gets installed. Because the lock manager has been introduced in 2.4 there is no entry in _objects. Andreas ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch>; <zope-dev@zope.org> Sent: Sunday, October 21, 2001 12:56 Subject: [Zope-dev] Re: WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
... DavLocks lost in Control_Panel ... It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why.... I found the reason for the missing WebDAV Lock Manager:
The "Application Manager" instance "Control_Panel" has its own private instance of "_objects" and does not use that of its class. In this private instance the WebDAV Lock Manager is missing while it is present in the class.
This means, nothing serious.
Maybe, the Zope maintainers should ensure that the "Control_Panel" instance has the lock manager. It is obviously useful.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
The CVS contains now a patch to ApplicationManager.py to make the LockManager visible again. Andreas ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch>; <zope-dev@zope.org> Sent: Sunday, October 21, 2001 12:56 Subject: [Zope-dev] Re: WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
... DavLocks lost in Control_Panel ... It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why.... I found the reason for the missing WebDAV Lock Manager:
The "Application Manager" instance "Control_Panel" has its own private instance of "_objects" and does not use that of its class. In this private instance the WebDAV Lock Manager is missing while it is present in the class.
This means, nothing serious.
Maybe, the Zope maintainers should ensure that the "Control_Panel" instance has the lock manager. It is obviously useful.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
I suspect this is a bug. I thinmk it is due to upgrading your data.fs from an earlier version of Zope. At some point in time Control_Panel has been created as a object in data.fs, and this object has an _objects tuple that contains the objects from 2.2 or more likely 2.3... I have this at work, where the same data.fs has been upgraded from 2.1.x to 2.4 and I had to manually remove the Control_Panel instance's "_objects" tuple, then everything worked fine. I do not see this at home where I have a fresh 2.4.1 install. Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 4:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
The CVS contains a fixed version for this problem. Andreas ----- Original Message ----- From: "Adrian Hungate" <adrian@haqa.co.uk> To: "Dieter Maurer" <dieter@handshake.de>; "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Friday, October 26, 2001 17:51 Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
I suspect this is a bug. I thinmk it is due to upgrading your data.fs from an earlier version of Zope. At some point in time Control_Panel has been created as a object in data.fs, and this object has an _objects tuple that contains the objects from 2.2 or more likely 2.3...
I have this at work, where the same data.fs has been upgraded from 2.1.x to 2.4 and I had to manually remove the Control_Panel instance's "_objects" tuple, then everything worked fine.
I do not see this at home where I have a fresh 2.4.1 install.
Adrian...
-- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu
----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 4:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
and how did you delete _objects from the control panel ?? Robert ----- Original Message ----- From: "Adrian Hungate" <adrian@haqa.co.uk> To: "Dieter Maurer" <dieter@handshake.de>; "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Friday, October 26, 2001 11:51 PM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
I suspect this is a bug. I thinmk it is due to upgrading your data.fs from an earlier version of Zope. At some point in time Control_Panel has been created as a object in data.fs, and this object has an _objects tuple that contains the objects from 2.2 or more likely 2.3...
I have this at work, where the same data.fs has been upgraded from 2.1.x to 2.4 and I had to manually remove the Control_Panel instance's "_objects" tuple, then everything worked fine.
I do not see this at home where I have a fresh 2.4.1 install.
Adrian...
-- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu
----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 4:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
erm... I wrote a function in one of my products that contained something like: delattr(Control_Panel_Reference, '_objects') Dirty but it seems to work :) It allows the class attribute to show through and there have been no obvious ill effects. Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu ----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: "Adrian Hungate" <adrian@haqa.co.uk>; "Dieter Maurer" <dieter@handshake.de> Cc: <zope-dev@zope.org> Sent: Saturday, October 27, 2001 9:49 AM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
and how did you delete _objects from the control panel ?? Robert ----- Original Message ----- From: "Adrian Hungate" <adrian@haqa.co.uk> To: "Dieter Maurer" <dieter@handshake.de>; "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Friday, October 26, 2001 11:51 PM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
I suspect this is a bug. I thinmk it is due to upgrading your data.fs from an earlier version of Zope. At some point in time Control_Panel has been created as a object in data.fs, and this object has an _objects tuple that contains the objects from 2.2 or more likely 2.3...
I have this at work, where the same data.fs has been upgraded from 2.1.x to 2.4 and I had to manually remove the Control_Panel instance's "_objects" tuple, then everything worked fine.
I do not see this at home where I have a fresh 2.4.1 install.
Adrian...
-- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu
----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 4:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Thank you, I did it with an external method def t (self) : cp = getattr(self, 'Control_Panel') delattr(cp, '_objects') and it worked. life is full of wonders Robert ----- Original Message ----- From: "Adrian Hungate" <adrian@haqa.co.uk> To: "Robert Rottermann" <robert@redcor.ch>; "Dieter Maurer" <dieter@handshake.de> Cc: <zope-dev@zope.org> Sent: Saturday, October 27, 2001 10:12 PM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
erm... I wrote a function in one of my products that contained something like:
delattr(Control_Panel_Reference, '_objects')
Dirty but it seems to work :) It allows the class attribute to show through and there have been no obvious ill effects.
Adrian...
-- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu
----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: "Adrian Hungate" <adrian@haqa.co.uk>; "Dieter Maurer" <dieter@handshake.de> Cc: <zope-dev@zope.org> Sent: Saturday, October 27, 2001 9:49 AM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
and how did you delete _objects from the control panel ?? Robert ----- Original Message ----- From: "Adrian Hungate" <adrian@haqa.co.uk> To: "Dieter Maurer" <dieter@handshake.de>; "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Friday, October 26, 2001 11:51 PM Subject: Re: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
I suspect this is a bug. I thinmk it is due to upgrading your data.fs from an earlier version of Zope. At some point in time Control_Panel has been created as a object in data.fs, and this object has an _objects tuple that contains the objects from 2.2 or more likely 2.3...
I have this at work, where the same data.fs has been upgraded from 2.1.x to 2.4 and I had to manually remove the Control_Panel instance's "_objects" tuple, then everything worked fine.
I do not see this at home where I have a fresh 2.4.1 install.
Adrian...
-- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu
----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope-dev@zope.org> Sent: Sunday, October 21, 2001 4:59 PM Subject: [Zope-dev] WebDAVLocks lost in "Control_Panel" (was:: [ZPT] how to unlock a webdav locked element ????)
Dieter Maurer writes:
Robert Rottermann writes:
I do not really understand this answer. Should there be such lock management?? I have not found it? Sorry, you are right.
I was convinced, I saw it there. But when I checked after receiving your reply, I did not find it either. Maybe wishful thinking.... I rechecked (do not like to be wrong...):
There should be a "DavLocks" entry in the "Control_Panel" between "Versions" and "Products".
I am now sure, I have seen it.
It is still in the code "App.ApplicationManager.ApplicationManager._objects" but "objectItems" now longer finds it and therefore, it is no longer shown in the control panel. I do not (yet) understand why....
You can use it anyway:
http://<your zope>/Control_Panel/DavLocks/manage
I will report, when I found out why it is no longer shown.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (4)
-
Adrian Hungate -
Andreas Jung -
Dieter Maurer -
Robert Rottermann