Re: [tablix-list] How to access current room allocation

From: Nicholas Robinson <nprREMOVE@THISbottlehall.co.uk>
Date: Thu May 19 2005 - 19:03:50 CEST

Hi Tomaz

The first problem identified below is still apparent. Are you able to
confirm/fix?

Thanks

Nick

On Sunday 08 May 2005 21:08, Nicholas Robinson wrote:
> Aha, serendipity strikes. Your comment about the ordering/presence of the
> fitness_request_chromo calls is the cause of my second problem. Putting
> them correctly solves the problem!
>
> On Sunday 08 May 2005 20:48, Nicholas Robinson wrote:
> > Hi
> >
> > I'm trying to replace the 'preferred-room' functionality from 0.1.0 in
> > 0.2.1. The requirement is to allow a teacher to teach, wherever possible
> > from his/her own classroom. It seemed the most obvious to make this a
> > teacher restriction.
> >
> > The attached code fails in two ways:
> >
> > 1. The handler never seems to get called. This appears to be a similar
> > problem to the other one with the tuple handler not being called - but
> > restricted to resource type 'teacher'. If I try to put a 'conflicts-with'
> > restriction in a teacher then the handler in sametime.c doesn't get
> > called either.
> >
> > 2. I think I've made a mistake in the test. I am obviously trying to
> > check the currently allocated room against any preference for a teacher.
> > It seems to be locating the teacher okay and thus finding the preferred
> > room, but room->gen[m] seems to return far higher id values than would be
> > sensible.
> >
> > Thanks and Best Wishes
> >
> > Nick

-- 
Fight Prejudice - Fight the Ban (see www.countrysidealliance.org)
Received on Thu May 19 19:01:25 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:43:34 CEST