Hi, I'm a Zope newbie who just started looking at this thing. The Version functions seemed really neat up until when I tried them and I couldn't find any way to save the changes I did in my version. I tried replicating what I did on a fresh install of Zope on RedHat Linux 8.0 using the binary .tgz from zope.org. This is step-by-step what I did just after installing and starting the server (after setting some permissions and IP-adresses and stuff): I entered the ZMI and entered the Root Folder. I added a new folder with id='test' Entered folder '/test' Created version id='myversion' Entered version 'myversion' Chose "Start working in version..." Entered folder '/test' Add new DTML Document id='index_html' Entered index_html and made some changes to it. Chose 'Save Changes' Entered folder '/test' Entered version 'myversion' Chose "Quit working in ... " Entered the "Save/Discard" tab. Clicked the "Save" button. This is what I thought I should do to make the changes I did in the version public, but apparently that wasn't quite it. After this I entered the folder '/test', but there was no index_html object there, only the version object 'myversion' existed. The '/test' folder still had the red diamond and the lock after its name. If I entered the version and save/discard tab again it read "No non-empty versions" or something like that. Same thing if I went to the Control-Panel and Version Management. Is it me who is doing something wrong? Or is there a bug in Zope? Sincerely, Peter.
DeCaf wrote:
This is step-by-step what I did just after installing and starting the server (after setting some permissions and IP-adresses and stuff):
...
Chose 'Save Changes' Entered folder '/test' Entered version 'myversion' Chose "Quit working in ... " Entered the "Save/Discard" tab. Clicked the "Save" button.
You've quit the version before saving it... You have to save first and then quit the version. Read the ZopeBook for more information about Versions. ...
Chose 'Save Changes' Entered folder '/test' Entered version 'myversion' Entered the "Save/Discard" tab. Clicked the "Save" button. Chose "Quit working in ... "
-mj
Tried this also, didn't work. I've got a feeling this ought to work, but it just doesn't for me. Are there any other reason this might fail, or is there a bug? (I did read in the Zope book about versions, but it just doesn't seem to work for me). Very thankful for any input on this. A transcript of what I tried now below. Okay, so after doing the prior steps I did the following: Enter folder'/test' Enter version 'myversion' Chose "Start working ..." Enter '/test' Add DTML Document 'testpage' Enter version 'myversion' Entered the "Save/Discard" tab Entered some text and clicked the save button. Chose "Quit working with version" Entered the '/test' folder.. Still no 'index_html' document, NOR the new 'testpage' document available in the '/test' folder. Control-Panel->Version Management still reports "There are no non-empty versions.". What am I doing wrong? Sincerely, Peter. On Fri, 21 Mar 2003 01:26:12 +0100, Maik Jablonski <maik.jablonski@uni-bielefeld.de> wrote:
DeCaf wrote:
This is step-by-step what I did just after installing and starting the server (after setting some permissions and IP-adresses and stuff):
...
Chose 'Save Changes' Entered folder '/test' Entered version 'myversion' Chose "Quit working in ... " Entered the "Save/Discard" tab. Clicked the "Save" button.
You've quit the version before saving it... You have to save first and then quit the version. Read the ZopeBook for more information about Versions.
...
Chose 'Save Changes' Entered folder '/test' Entered version 'myversion' Entered the "Save/Discard" tab. Clicked the "Save" button. Chose "Quit working in ... "
-mj
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi Peter, you've found a bug! Please fill out a collector issue describing the problem and howto reproduce it on: http://collector.zope.org/Zope I can reproduce the problem following your steps with 2.6.1 and 2.7...
Enter folder'/test' Enter version 'myversion' Chose "Start working ..." Enter '/test' Add DTML Document 'testpage' Enter version 'myversion' Entered the "Save/Discard" tab Entered some text and clicked the save button. Chose "Quit working with version" Entered the '/test' folder..
Still no 'index_html' document, NOR the new 'testpage' document available in the '/test' folder.
Cheers, Maik
Look at issue 817 first, may be the same thing. regrads gidon Maik Jablonski wrote:
Hi Peter,
you've found a bug! Please fill out a collector issue describing the problem and howto reproduce it on:
http://collector.zope.org/Zope
I can reproduce the problem following your steps with 2.6.1 and 2.7...
Enter folder'/test' Enter version 'myversion' Chose "Start working ..." Enter '/test' Add DTML Document 'testpage' Enter version 'myversion' Entered the "Save/Discard" tab Entered some text and clicked the save button. Chose "Quit working with version" Entered the '/test' folder..
Still no 'index_html' document, NOR the new 'testpage' document available in the '/test' folder.
Cheers, Maik
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Gidon Friedman wrote:
Look at issue 817 first, may be the same thing.
Thank you, Gidon! It's the same bug. So no new collector issue is needed...:) I'll added a followup... Cheers, Maik
Maik Jablonski wrote:
Hi Peter,
you've found a bug! Please fill out a collector issue describing the problem and howto reproduce it on:
http://collector.zope.org/Zope
I can reproduce the problem following your steps with 2.6.1 and 2.7...
Enter folder'/test' Enter version 'myversion' Chose "Start working ..." Enter '/test' Add DTML Document 'testpage' Enter version 'myversion' Entered the "Save/Discard" tab Entered some text and clicked the save button. Chose "Quit working with version" Entered the '/test' folder..
Still no 'index_html' document, NOR the new 'testpage' document available in the '/test' folder.
Maik Jablonski wrote at 2003-3-21 01:26 +0100:
... You've quit the version before saving it... You have to save first and then quit the version. Read the ZopeBook for more information about Versions.
I never do this. And I think, it should not be necessary. Entering/quitting on one hand and saving/discarding are orthogonal and do not affect each other. Dieter
Dieter Maurer wrote:
Maik Jablonski wrote at 2003-3-21 01:26 +0100:
... You've quit the version before saving it... You have to save first and then quit the version. Read the ZopeBook for more information about Versions.
I never do this. And I think, it should not be necessary.
Entering/quitting on one hand and saving/discarding are orthogonal and do not affect each other.
But if you want to see the results of your work done in a version, you have to save first (before quitting the version), aren't you? Leaving a version without saving this version will give you no public visible change... something what the original poster wanted to see. Cheers, Maik
participants (4)
-
DeCaf -
Dieter Maurer -
Gidon Friedman -
Maik Jablonski