Ticket #1956 (closed defect: fixed)
Issue with Dotclear 2.6.2 and sqlite -> user management
Reported by: | le_top | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 2.9 |
Component: | module:admin | Version: | 2.6.2 |
Severity: | blocker | Keywords: | user management, sqlite |
Cc: |
Description
Hi User management is not possible with my dotclear + sqlite installation. When clicking on Users (Utilisateurs in French) which links to /admin/users.php, I get the following error message: ambiguous column name: user_id (1)
Change History
comment:2 Changed 11 years ago by franck
The fix should not be on line 54, as proposed, because of test done on line 67.
The U prefix should also be not known by this part of code and we need to find a better (and more elegant) way to fox that.
Note: See
TracTickets for help on using
tickets.
This bug is also present in version 2.6.3. It's cause: default sorting column set to 'user_id' in admin/users.php on line 54 (in version 2.6.3):
Fix: change the above to
The error shows up in inc/core/class.dc.core.php, around lines 503...513 (in version 2.6.3), which generates this query:
Dotclear experts: I don't know why/whether this doesn't fail with other DB systems - please investigate.
This is a blocker for Automated testing of Dotclear - http://forum.dotclear.org/viewtopic.php?pid=328372.