View Issue Details

IDProjectCategoryView StatusLast Update
0010140mantisbtcustom fieldspublic2009-02-18 05:33
Reporternic_pei Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status newResolutionopen 
Product Version1.1.1 
Summary0010140: Can not define a custom field that the value of the field is unduplicated
Description

I've defined a custom field named 'TaskCode', and the datatype is String.
I want to set the value of 'TaskCode' is unduplicated, but there is not advanced setting for this regulation.
eg: When there is value of TaskCode :'T-001', I count not insert into database table 'T-001' again.
How could I add a warning for this operation?

TagsNo tags attached.

Activities

giallu

giallu

2009-02-18 03:20

reporter   ~0020876

We probably need to improve the code to support that.

Anyway, I'm just curious why you want a TaskCode at all. That looks like an unique ID for the bug report and well, we have already an unique ID which is the bug number :)

nic_pei

nic_pei

2009-02-18 04:09

reporter   ~0020878

The field taskcode is not a real business field name.
I found that all the custom fields are saved in mantis_custom_field_table ,and their values are saved in mantis_custom_field_string_table.
For our project ,we need copy issue from Gemini to mantis, so there is a GeminiNo for the reporter to fill in. It's just like an unique ID(As you said in your last note) . The storage structure of custom field is special ,so I could not set a unique field manually.

giallu

giallu

2009-02-18 05:33

reporter   ~0020879

Ok. thanks for the details :)

I think there is some work being done on the custom fields area, but I don't know what the status of that is.