View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015255 | mantisbt | bugtracker | public | 2012-12-04 06:37 | 2014-09-23 18:05 |
Reporter | anshu | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | windows | OS | windows | OS Version | windows2008 |
Product Version | 1.2.13 | ||||
Target Version | 1.2.13 | Fixed in Version | 1.2.13 | ||
Summary | 0015255: Date filter fields are disabled when $g_use_javascript = OFF | ||||
Description | When ticking 'use date filters' checkbox in view issues page, the associated selection fields to pick the date criteria remain disabled, preventing date filtering. They should be enabled by default. User's original report text below1) when i am checked on use date filters it should enable but its enabling after click on apply filter it should enable on checked. | ||||
Additional Information |
no change in customization | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
anshu, I realize that English is not your mothertongue, but I'm having a hard time understanding what your problem is. Please try to be more accurate, or maybe upload screenshots demonstrating what the problem is / what you expect to happen. As a side note, it may be useful not to "drown" your problem in too much background information - I'm not sure the whole section describing your upgrade process is relevant or useful in this context, and makes it hard trying to figure out what you need - is it an upgrade problem or something else ? |
|
1)my problem is when i do check the checked box of use date filter ,it should enable but not happening like this , how to solve this error? |
|
I'm still not sure I understand you correctly, but it sounds like you have an issue with javascript |
|
I have attached one screen shot hope now u will get my problem please help me to solve me this. |
|
I can confirm and reproduce the issue you are facing here, by disabling javascript. As a workaround, please enable javascript ($g_use_javascript = ON in your config_inc.php) and also make sure it's enabled in your browser. I'll work on a fix to make these fields enabled when $g_use_javascript = OFF |
|
This was already partially fixed in master branch (for date filters) but the issue still existed for custom fields of type date |
|
I have copied your given code in core/filter_api and $g_use_javascript = OFF; in config file but when i am running the mantis url i am getting 500 internal server error "website can't display the page". |
|
500 server error is too generic, and does not help me at all in understanding what is happening, especially considering that I do not have access to a W08/IIS setup for testing. Please provide additional information, log file, which page is being opened when you get the error, etc. By the way is there a particular reason why you need to disable javascript ? If not, then you should reconsider, as the system is much more user-friendly with scripting enabled. |
|
if i am doing on java script on then its also not working,i am doing copy of code which you have provided delete filter_api original code and paste your given code in that file,is it right way? after this process when i am running mantis url i am getting 500 server error. |
|
Assuming you have replaced the whole filter_api.php file, yes it should be OK (unless there have been other changes to that file since release 1.2.12 but I don't think so). To be on the safe side, you can also try with a nightly build. This bug tracker is not the right channel to discuss and get support on your specific system configuration. As mentioned previously, please use the forums, the mantisbt-help mailing list or IRC to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details). I will now resolve this ticket again, please don't reopen it unless you can find an issue with the patch itself. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master-1.2.x e30887f9 2012-12-04 09:58 Details Diff |
Enable filter date fields by default when $g_use_javascript = OFF With javascript disabled, when ticking 'use date filters' checkbox in view issues page, the associated selection fields to pick the date criteria remain disabled, preventing date filtering. The code now detects the state of $g_use_javascript and sets the 'disabled' state of the date selection fields accordingly. Also removes 'Undefined variables' system notices. Fixes 0015255 |
Affected Issues 0015255 |
|
mod - core/filter_api.php | Diff File | ||
MantisBT: master efbfd052 2012-12-04 09:58 Details Diff |
Enable filter date fields by default when $g_use_javascript = OFF With javascript disabled, when ticking 'use date filters' checkbox in view issues page, the associated selection fields to pick the date criteria remain disabled, preventing date filtering. The code now detects the state of $g_use_javascript and sets the 'disabled' state of the date selection fields accordingly. Also removes 'Undefined variables' system notices. Fixes 0015255 |
Affected Issues 0015255 |
|
mod - core/filter_api.php | Diff File |