View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010430 | mantisbt | custom fields | public | 2009-04-28 10:56 | 2015-05-11 11:17 |
Reporter | quazardous | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | PC i386 | OS | Linux Debian | OS Version | lenny |
Product Version | 1.1.6 | ||||
Summary | 0010430: Cannot update custom date field | ||||
Description | Cannot update custom date field | ||||
Steps To Reproduce | create a date custom field. report a bug : you can assign a date. modify the bug : the date is no more updatable ! | ||||
Additional Information | settings that can have effects : $g_default_language='french'; | ||||
Tags | No tags attached. | ||||
I'm having this problem too. Any kind of patch would be helpful because we can't use Mantis the way it is. I can't report an issue to a project that contains a custom date field. I get the error "Invalid value for field:". Reporting an issue is fine when the project does not contain any custom date fields. I think the problem is in bug_report.php, where you are validating the custom fields before adding the bug. The function gpc_get_custom_field returns '' for date types but the custom_field_validate function that the result is being sent to expects either a true/false value or a number for date types. I'm not sure if changing the custom_field_validate to also accept '' is appropriate or will cause other problems. Any suggestions? |
|
We are resolving this issue as "unable to reproduce", because it was reported against an old version of MantisBT which is no longer supported. We recommend that you upgrade to the latest stable version [1]; if after doing so the problem still exists, do not hesitate to reopen the issue. |
|