View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023594 | mantisbt | custom fields | public | 2017-11-05 01:39 | 2017-12-04 02:17 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.8.0 | ||||
Target Version | 2.9.0 | Fixed in Version | 2.9.0 | ||
Summary | 0023594: Reporting an issue with default date {now} that is not visible doesn't work | ||||
Description | The issue should be created with custom field set to today's date, but it gets created with literal string | ||||
Tags | No tags attached. | ||||
@vboctor please check whether your proposed patch also fixes 0019482 and maybe 0012602 too. |
|
This is the signature of
But it's called now as
Obviously wrong as it's called with 4 parameters instead of 3. I assume the last |
|
@atrol the calling issue is fixed via https://github.com/mantisbt/mantisbt/pull/1245 |
|
Reviewed, tested and approved the PR. |
|
MantisBT: master 8b9b2a32 2017-11-04 21:39 Details Diff |
Fix handling custom date fields with value `{now}` The issue should be created with custom field set to today's date, but it gets created with literal string {now} that can't be displayed later. The fix would be resolve {now} at reporting time and fix display of existing issues by showing empty date. This applies to issues created via web ui when the date field is not visible on reporting page. Fixes 0023594 |
Affected Issues 0023594 |
|
mod - bug_report.php | Diff File | ||
mod - core/cfdefs/cfdef_standard.php | Diff File | ||
MantisBT: master 751b3d35 2017-11-27 18:22 Details Diff |
Fix the call to `custom_field_set_value()` Fixes 0023594 |
Affected Issues 0023594 |
|
mod - bug_report.php | Diff File |