View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016999 | mantisbt | other | public | 2014-02-19 11:57 | 2014-02-19 11:57 |
| Reporter | David M | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 1.2.15 | ||||
| Summary | 0016999: In the category API, category_get_id_by_name() ignores categories common to all projects. | ||||
| Description | Whenever a project_id is involved, the value 0 is used to indicate "all projects" (for example when filtering bugs). So, when checking for all categories of a project, the query should check "project_id = <requested value> or project_value = 0". It can be avoided by a call along these lines: But I believe this isn't the intended behaviour. | ||||
| Steps To Reproduce | 1- Check for a category available to "all projects" and an existing project's id. | ||||
| Additional Information | Given the generic nature of the issue, it can be assumed that it will be found in other functions of the API. I unfortunately can't go and browse every one of them at the moment as I'm in crunch time, however I may report other issues of this kind as I come across them while I complete my project. | ||||
| Tags | No tags attached. | ||||