Home
The Toolkit for Online Communities
16685 Community Members, 0 members online, 2122 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : HEAD install.xml feature is broken : One Message

Forum OpenACS Development: Re: HEAD install.xml feature is broken

Collapse
Posted by Randy O'Meara on
Bart:

Thanks for your insight. I just looked through the code again and I believe it's doing the right thing. Even so, I changed it to do *exactly* what you prescribed above. Same problem.

Peter:

Have you seen the tDOM processing of install.xml work properly on HEAD? If so, can you recall when it last worked? I'm wondering if it has ever worked since the port to tDOM. If so, then I can focus on changes in this area of code since it was last known to work. I don't see a problem with the way it's coded, but the objects are definitely not persisting between pages.

I have verified that there is no aolserver restart happening between the time the objects are created and when they are used, so I see no reason for them to have disappeared.

Could this have something to do with the version of tDOM? My version is 0.7.7.

Randy

Collapse
Posted by Peter Alberer on
Hi,

i think you must keep in mind that tdom persistent objects are just available in the thread in that they were created. If the different install tcl files are served by different threads, the relevant tdom objects will not be available. The best way to go is to delete every doc at the end of one page and recreate it in the next tcl page from the underlying xml doc. Otherwise you have tdom objects lying around that you maybe cannot use in the "next" page and that just need memory.