View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012691 | mantisbt | sql | public | 2011-01-17 05:29 | 2013-01-02 02:54 |
| Reporter | joergahrens | Assigned To | atrol | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| OS | Linux | ||||
| Product Version | 1.2.4 | ||||
| Summary | 0012691: wrong SQL when filtering and sorting by custom field | ||||
| Description | see steps to reproduce | ||||
| Steps To Reproduce | 1) in create a custom field and add it to filter | ||||
| Additional Information | APPLICATION ERROR 0000401 Datenbankabfrage fehlgeschlagen. Die Reportmeldung lautet #1066: Not unique table/alias: 'mantis_custom_field_string_table_1' für die Abfrage: SELECT Count( DISTINCT mantis_bug_table.id ) as idcnt FROM mantis_project_table, mantis_bug_table LEFT JOIN mantis_custom_field_string_table mantis_custom_field_string_table_1 ON mantis_custom_field_string_table_1.bug_id = mantis_bug_table.id AND mantis_custom_field_string_table_1.field_id = 1 LEFT JOIN mantis_custom_field_string_table mantis_custom_field_string_table_1 ON mantis_bug_table.id = mantis_custom_field_string_table_1.bug_id AND mantis_custom_field_string_table_1.field_id = 1 WHERE mantis_project_table.enabled = ? AND mantis_project_table.id = mantis_bug_table.project_id AND (mantis_custom_field_string_table_1.value = '0,5 MT'). | ||||
| Tags | No tags attached. | ||||
|
Hi, |
|
|
maybe it is the same of: http://www.mantisbt.org/bugs/view.php?id=5859 |
|
|
Dom75 's suggestion work, but WHY? |
|
|
It have been resolved in 1.2.5 ;) |
|
|
joergahrens, I was not able to reproduce your problem with a fresh install of the latest stable version of MantisBT (1.2.12 at the moment). I recommend that you upgrade to the latest stable version [1]; if after doing so the problem persists, do not hesitate to reopen the issue. [1] https://sourceforge.net/projects/mantisbt/files/mantis-stable/ |
|