Ooops! My mistake. :-(

I thought this was the problem, because I had several news items that had no 
date set, and they were not shown in the list due to this filter. So something 
else was the problem. If I ever find out, I'll let you know.

Bye, Bert

________________________________________
Van: [email protected] [[email protected]] namens 
Philipp Bärfuss [[email protected]]
Verzonden: dinsdag 20 april 2010 8:55
Aan: Magnolia Dev-List
Onderwerp: Re: [magnolia-dev]  bug in STKDateContentUtil: comparing objects 
instead of their values

It compares the return values of date.getTimeInMillis() which is of type long 
(not Long) so that condition should be perfect.

Philipp

On 19.04.2010, at 15:21, Bert Leunis wrote:

> Hello,
>
> In info.magnolia.module.templatingkit.util.STKDateContentUtil, with 
> http://jira.magnolia-cms.com/browse/MGNLSTK-459 I think a bug was introduced. 
> Two Longs are being compared with == where I think the compareTo() method 
> should be used.
>
> Regards, Bert
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to