View Issue Details

IDProjectCategoryView StatusLast Update
0005535mantisbtfilterspublic2005-07-23 02:28
ReporterTomR Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a2 
Fixed in Version1.0.0rc1 
Summary0005535: Date filters does not work
Description

See error attached

TagsNo tags attached.
Attached Files
error.bmp (35,126 bytes)   
error.bmp (35,126 bytes)   

Relationships

related to 0005719 closedthraxisp System warning when trying to filter custom date field 
child of 0005460 closedvboctor Critical Issues to Fix for Mantis 1.0.0 Release 

Activities

thraxisp

thraxisp

2005-04-28 11:27

reporter   ~0009953

What did you do to get the error?

Note that there are some problems with the javascript in 1.0.0a2. The comment delimiters were wrong. This has been fixed.

eurayle

eurayle

2005-06-07 00:25

reporter   ~0010378

Last edited: 2005-06-07 01:53

I think I got the similar problem. Noticed it in both 1.0.0a2 and 1.0.0a3, with the $g_dhtml_filters set to ON.

The Javascript error pops-up when I tried to select an option in the drop-down list (any, none, between, etc) of a Date custom field. (see screenshot custom_field_date_filter_error.jpg)

I've tested using the Opera 8 browser too and from the Javascript console, this is the error message:

http://localhost/mantis/view_all_bug_page.php
Event thread: change
Error:
name: ReferenceError
message: Statement on line 1: Reference to undefined variable: toggle_custom_date_field_3_controls
Backtrace:
Line 1 of script
toggle_custom_date_field_3_controls();
At unknown location
[statement source code not available]

If I set the DHTML filter set to OFF, then the error doesn't appear.

thraxisp

thraxisp

2005-06-07 09:15

reporter   ~0010387

The script code that switches the filter display on and off is missing from the dhtml filter view.

thraxisp

thraxisp

2005-06-07 15:52

reporter   ~0010394

Fixed in CVS. Javascript code to manage the date boxes was not loading properly.

core/filter_api.php -> 1.116