Pivots does not seem to respect db prefix

robertem - December 2, 2008 - 19:59
Project:Conversation Pivots
Version:5.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:danithaca
Status:won't fix
Description

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.

#1

danithaca - December 5, 2008 - 23:04
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

robertem - December 6, 2008 - 16:14

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

Rob

#3

aaronott - March 11, 2009 - 01:43

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

aaronott - March 11, 2009 - 01:55
Status:active» needs review

#5

danithaca - June 12, 2009 - 15:04
Status:needs review» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.