Resource Unavailability Date Error

Whenever bugs are encountered they are quashed and reported. Here you can see their quashings up close.

Moderators: sureshquest, arulmani, trifon

Resource Unavailability Date Error

Postby hema » Fri Jul 01, 2005 8:18 pm

Hi,

I don't know if this error has been reported before but I am posting it anyway.

Whenever I save the "Date From" (e.g 01/07/05) and "Date To" (e.g. 10/07/05) fields in the Resource Unavailability window, I get the error "Date to > Date from". In fact it should not be an error and it can be confusing.

In MResource, beforeSave function, I inverted

if (getDateFrom().after(getDateTo()))
{
log.saveError("Error", Msg.parseTranslation(getCtx(), "@DateFrom@ > @DateTo@"));
return false;

}

It's seems more logical now.

Regards,
Hema
hema
Regular
 
Posts: 81
Joined: Wed Aug 25, 2004 5:21 pm

Postby red1 » Sat Jul 02, 2005 9:12 pm

Hi Hema,
Wow, you are a Java lady now! ;)

Thanks for the gud informative solution. But what version is this?

regards
red1
Site Admin
 
Posts: 2740
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Postby hema » Mon Jul 04, 2005 2:34 pm

Hi Red1,

Sorry I forgot to mention that this error occurs in version 2.5.2b.

Regards,
Hema
hema
Regular
 
Posts: 81
Joined: Wed Aug 25, 2004 5:21 pm


Return to BUGS Galore!

Who is online

Users browsing this forum: No registered users and 1 guest

cron