View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025493 | mantisbt | bugtracker | public | 2019-02-19 15:23 | 2019-02-19 16:33 |
Reporter | ChrisG | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Summary | 0025493: Allow statuses with hyphens and spaces | ||||
Description | Currently any status with a hyphen or space will fail as you map them to PHP variables, which don't support hyphens/spaces. A filter function that replaces invalid characters with underscores would suffice, simple solution. For a bug tracker to be user-friendly to novice users, having hyphens in statuses may be important. | ||||
Tags | No tags attached. | ||||
Using spaces should work by following the instructions in Admin Guide https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.customize.status |
|
Ah yes, apologies - spaces do work, hyphens do not. Mantis already does an '_' replace for spaces. What I'm doing right now is changing the default code as follows:
But a better implementation would be something like |
|