View Issue Details

IDProjectCategoryView StatusLast Update
0010430mantisbtcustom fieldspublic2015-05-11 11:17
Reporterquazardous Assigned Tovboctor  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformPC i386OSLinux DebianOS Versionlenny
Product Version1.1.6 
Summary0010430: 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';
$g_short_date_format='d/m/Y';
$g_normal_date_format='d/m/Y H:i';
$g_complete_date_format='d/m/Y H:i';

TagsNo tags attached.

Relationships

related to 0010471 closedatrol Date type custom fields is not updating 

Activities

kec161

kec161

2009-04-29 14:30

reporter   ~0021728

Last edited: 2009-04-29 14:32

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?

vboctor

vboctor

2015-04-28 03:24

manager   ~0050660

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.

[1] http://www.mantisbt.org/download.php