List Info

Thread: bug tracked down




bug tracked down
user name
2006-11-06 11:38:34
> I've found out why did the "News" table
produce an error on 
> the HomePage:
> The announcements are shown in an ascending list based
on the 
> date of creation. For ascending list, we need negative 
> values, so the sortby block computed the time between
now and 
> the date of creation, which is negative.
> But! This result changes in time! And the sortby has a
self 
> defense mechanism that throws an error if something is
not 
> equal with itself (congratulations for the developer,
without 
> this, nasty bugs could remain
> hidden) So if the clock ticked while the comparison
with 
> itself, the error was raised.
> I changed the sortby block to compute the difference
between 
> 2500. Jan. 1.
> and the date of creation, so now the result is
constant, and 
> there is no error. (Don't forget to change the constant

> before 2500. comes :P )

Nice catch. 
 
> BTW: Today I've restructured the Information Roadmap,
and 
> cleaned (no crap, no redirects) all pages directly
linked 
> from the HomePage. And deleted other tons of crap
globally.

Thanks! A lot! Efforts like this make a big difference. 

BTW, if you have any recommendations for pages which should
be set
read-only, please assemble it and send it out. One of us
admins can make the
changes at the filesystem level. 



------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flexwiki-users mailing list
Flexwiki-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki
-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )