Hopbot log for 2008-11-24 - Helma IRC channel: #helma on irc.freenode.net

2008-11-24:

[15:51] <Helma0> hey hey
[15:52] <NilsW> one question
[15:52] <NilsW> i am using helma 1.5.2 and antville 1.1.1 via jk_mod and Apache 2
[15:53] <NilsW> in the past, antville seemed to forget its constants
[15:53] <NilsW> especially DISPLAY
[15:54] <NilsW> it wasnt too bad since it only appeared in the breadcrumb navigation
[15:54] <NilsW> but now i cant get it to load them at all
[15:54] <NilsW> it doesnt know DISPLAY and ROLES
[15:54] <NilsW> wich mean i cant set any userlevels in the blogs
[15:55] <NilsW> restarting the server didnt help
[15:55] <NilsW> i am not sure if its a problem with onStart (wich calls initConstants) or somewhere else
[15:55] <NilsW> do you have an idea?
[16:02] <zumbrunn> Hi NilsW
[16:02] <zumbrunn> I have no idea, don't know the antville code
[16:03] <zumbrunn> just wait a while, you might get a response later
[16:05] <p3k> hi nils
[16:06] <p3k> i recognize this bug in antville 1.1
[16:07] <p3k> it's due to initConstants only being called in onStart
[16:07] <p3k> thus, if helma recompiles code the constants get lost (because onStart is not called)
[16:07] <p3k> there was a scheduler function calling initConstants as a work-around
[16:07] <p3k> but this is really ugly
[16:08] <p3k> i guess you could call initConstants whenever you need DISPLAY or ROLES
[16:09] <p3k> but i don't know why you cannot get them to load at all even when onStart is called
[16:12] <NilsW> ah
[16:13] <NilsW> i put initConstants(); in level_macro() {?}
[16:13] <NilsW> now both DISPLAY and ROLE are back
[16:13] <NilsW> thanks a lot
[16:15] <p3k> glad to hear that.
[16:16] <p3k> anyway, i recommend you should continue to post your questions regarding antville to the antville lists. i would not be here withouth chris zumbrunn pointing me to.
[16:16] <zumbrunn> :-)
[16:17] <p3k> (thanks, chris)
[16:20] <NilsW> hehe, alright
[16:21] <NilsW> thanks guys, see you

 

 

In the channel now:

Logs by date: