Download & Extend

Respect $db_prefix setting when working with database objects

Project:User Import
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Trying to import user file complains that "user_import_import_id_seq relation doesn't exist". In fact, the problem is caused by the fact that inside user_import.module file on line 1228 this sequence is called directly without obeying db_prefix semantics.

The fix is to surround sequence name with a curly brackets.

AttachmentSize
user_import.module.patch539 bytes

Comments

#1

The db_prefix semantics are for tables, do we need to wrap user_import_import_id_seq with {} ?

#2

Status:active» fixed

Committed in 5.x-2.10 and 6.x-2.2 - needs testing.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.