[horde] Stale status messages not being removed

Jan Schneider jan at horde.org
Tue Jan 29 05:52:27 PST 2002


Zitat von Jan Schneider <jan at horde.org>:

> Zitat von Jan Kuipers <jrkuipers at lauwerscollege.nl>:
> 
> > Citeren Jan Schneider <jan at horde.org>:
> > 
> > > All message are now pushed on a message stack that is registered in
> the
> > 
> > > session. If the messages are printed they are shifted from this
> stack.
> > This
> > > 
> > > happens in lib/Notification/status.php (line 23). Either you both
> > missed 
> > > some updates of the code or there is a sort of sessions issue.
> > 
> > I'm using the latest version of status.php. It seems if the messages
> are
> > not
> > removed from the stack, p.e. if you update your options several
> times,
> > the _same
> > message appears that many time in the session.
> 
> But the question is "why aren't the messages removed from the stack?". If
> 
> you update your prefs several time, you should get a message each time
> you 
> save them. The status handler only displays messages that got shifted
> from 
> the message stack, so that the message stack should be empty after the 
> messages were displayed.

There was a problem with the scope of the message stack. Could please try 
what I just commited?

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::




More information about the horde mailing list