Re: [Zope] ZNavigator
well, i installed navigator_demo.zexp and the ZNavigator folder from 2-00 and 2-01 respectively that i downloaded yesturday didn't help, but solution solution: delete navigator_demo/simple_demo/infobar/nonsens and simple_demo works your selection of objekt names, bar entries and the respective differences does unfortunately not really support bugtracking :-( since the complex_demo does not give any positive sign i give up here i would love to understand the complex_demo too, in case you have the correct version feel free to email it to me. thanks for your help and your product anyway olaf Jonas Juselius schrieb:
Did you _install_ the code for ZNavigator 2.02 _and_ the examples in that dist? (Remove the old ZNavigator and the examples...). When did you download the ZNavigator from the Zope site? When I fixed the ZNav, I managed to upload a faulty version, which was up for a day or two before I noticed... ;( Unfortunately I didn't change the version numbers when I corrected my mistake. I corrected my mistake a couple of months ago, so if your 2.02 is newer than that it should be OK. It's important for me to know, before I start hacking...
The problem is that (if I remember correctly, I have not looked at the code for some time...) the DateTime stuff in Zope changed at some point. I had to change the ZNavigator, so that it now uses Date _strings_ internally, instead of DateTime objects... The problems arise because old NavItems (although you cannot see it), have their date and expire data stored as DateObjects instead of as strings. What you can try to do to fix the problems is to walk through (either by hand or by DTML) your NavItems, open them and _save_ them back without any modification. This should fix the problems. Another thing you can look at is the precision of the date. The date should have a precision of one day, not in seconds... (This was one of the problems the the new DateTime objects, and the easiest way to fix it was to make dates strings and convert strings to DTObjects when date comparison/algebra is needed...) Of course it is possible that there is a bug somewhere, but I and a number of people have been using the current version for months without problems.
Let me hear how it went, take care,
-jonas-
On Fri, Dec 08, 2000 at 10:51:30AM +0100, Olaf Zanger wrote:
Jonas Juselius schrieb:
Yes I have an idea... ;-)
Due to some changes in Zope2, the ZNavigator broke... Try to get the latest version (2.02) from www.zope.org/Members/jonas/ZNavigator/ and install the examples from that distro instead.
thanks for the tip, but didn't help, sorry
navbar_dtml shows first icon right, second and third as "_" on click to second i come to Foo, click to first and third "date-string error"
i copy /simple_demo/foo/index_html to /simple_demo/bar/index_html and it works
unfortunately i can not find any differences between /bar/index_html and /foo/index_html
what's up?
olaf
-jonas-
On Fri, Dec 08, 2000 at 07:59:57AM +0100, Olaf Zanger wrote:
hi there,
i installed ZNavigator2.00.tgz on zope 2.2.2 if i try to use the examples i can install them i can edit the pages, but if i want to view them a error page "invalid date-time string"
appears
any idea?
olaf
-- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:info@soli-con.com mailto:olaf.zanger@soli-con.com http://www.soli-con.com
participants (1)
-
Olaf Zanger