Download & Extend

Pivots does not seem to respect db prefix

Project:Conversation Pivots
Version:5.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:danithaca
Status:closed (won't fix)

Issue Summary

After installation, if using a pre-defined database prefix for your install, attempting to add a pivot will result in the following error;

user warning: Table 'dbname.pivots' doesn't exist query: SELECT pid, name FROM pivots WHERE alg_name<>'double' AND enabled=1 in /path to folder/includes/database.mysql.inc on line 174.

The tables are created with the prefix.

Comments

#1

Assigned to:Anonymous» danithaca

Yes. This is a bug. I'm not sure when I can fix it, because priority now goes to porting to D6. In the D6 version, the bug should be fixed.

Thanks for reporting this bug.

#2

Sounds good,
I'll have a look at the code, maybe I can come up with a patch for you.

Rob

#3

Here's a quick patch. I've not tested it, but it should fix this issue for you. Please test it and let me know.

AttachmentSize
pivots_double.patch 620 bytes

#4

Status:active» needs review

#5

Status:needs review» closed (won't fix)

Thanks a lot for the support aaronott. Please see #489852: Migrate Conversation Pivots module to ApacheSolr AutoTrack and Recommender API.. And please continue to support the replacement modules, AutoTrack and Recommender modules. Thanks.