Some user admin queries should have autoProtect disabled

Bug #1268890 reported by Greg on 2014-01-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Medium
Greg

Bug Description

Testing 3.5 RC. After I create a new user, I receive an error when attempting to access the user information.

The exception class is "PHPDS_databaseException" and the error code is 0. The content of the exception is as follow:
Error invoking a query of class "PAGINATION_readPaginationQuery"

SELECT SQL_CALC_FOUND_ROWS
   t1.user_id, t1.user_display_name, t1.user_name, t1.user_password, t1.user_email, t1.user_group, t1.user_role, t1.date_registered, t1.language,
   t2.user_group_name,
   t3.user_role_name
  FROM
   _db_core_users t1
  LEFT JOIN
   _db_core_user_groups t2
  ON
   t1.user_group = t2.user_group_id
  LEFT JOIN
   _db_core_user_roles t3
  ON
   t1.user_role = t3.user_role_id
   WHERE user_id != \'x\'

 LIMIT 0, 30

It appears that the user_id and proper db prefix is not being supplied to the sql query. This error also appears on pending users menu item.

Related branches

Greg (gregfr) on 2014-01-14
Changed in phpdevshell:
importance: Undecided → Medium
assignee: nobody → Greg (gregfr)
status: New → Confirmed
milestone: none → 3.5
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions