View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008103 | mantisbt | bugtracker | public | 2007-06-27 08:22 | 2007-08-02 02:28 |
Reporter | libregeek | Assigned To | giallu | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0a2 | ||||
Fixed in Version | 1.1.0a4 | ||||
Summary | 0008103: Cannot modify the bugnote order. | ||||
Description | Tied to change the sort order of bugnotes to descending in config_inc.php with the following setup: | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I tried the suggestion in |
|
I am not 100% sure how to proceed for debugging this; probably you could try to enable query tracking and report here exactly WHICH one is failing. Please add to your config_inc.php the lines: $g_show_queries_list = ON; and report here the error(s) you see. |
|
Here is the errors I got after enabling debugging: Database query failed. Error received from database was 0001064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '102' at line 4 for the query: SELECT * Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section. Full path: /var/www/html/mantis/core/database_api.php |
|
ahhh wait. Your setting: $g_bugnote_order = DESC; is not right. it should be: $g_bugnote_order = 'DESC'; |
|
I tried the following settings $g_bugnote_order = 'DESC'; But same error. |
|
Ok. please test this;
|
|
It worked for new users. But for the old users the sort order remains the same. However there are no errors. Thanks for guiding me. |
|
Ok. so I know where the "problem" in the code is... About your other users, tell them to try going in "My Account", then "Preferences" and change their "Notes Sort Order" there. |
|
I have already intimated them. Thanks. |
|
Ok. I commited a change that will hopefully avoid other issues like this. |
|