[Zope] ZNavigator
Olaf Zanger
olaf.zanger@soli-con.com
Fri, 08 Dec 2000 12:47:57 +0100
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------6C5C492AF0CF16F7BDA6128E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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
--------------6C5C492AF0CF16F7BDA6128E
Content-Type: text/x-vcard; charset=us-ascii;
name="olaf.zanger.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte für Olaf Zanger
Content-Disposition: attachment;
filename="olaf.zanger.vcf"
begin:vcard
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:olaf.zanger@soli-con.com
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard
--------------6C5C492AF0CF16F7BDA6128E--