Project:View Alias
Version:6.x-2.0-beta7
Component:Code
Category:bug report
Priority:critical
Assigned:emackn
Status:closed (fixed)

Issue Summary

hello,

because of an error-message I got, I looked into the module-code and found following line in the function _get_aliasable_displays() :

$sql = "SELECT DISTINCT(vv.name) FROM drupal_views_view vv JOIN drupal_views_display vd ";

the table prefix 'drupal_' is hardcoded into the module code. This really shouldn't be so.
Some people (like me) don't use table prefixes at all, other will use different prefixes.

Would be great if you could correct this, not just for me, cause i modified the source, but for all others.

Comments

#1

Title:Hardcoded Tablöe-Prefix » Hardcoded Table-Prefix

#2

Status:active» fixed

beta2 will have this fix in it. I set the release up, but it might not get rolled for a couple of hours.

Thanks for picking that up.

#3

Assigned to:Methos76» emackn

#4

assigning to me

#5

Status:fixed» closed (fixed)

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

#6

Version:6.x-2.0-beta1» 6.x-2.0-beta7
Status:closed (fixed)» active

It's not fixed for beta7 :( Have to remove prefix manually.

#7

how did this get back in there? ;) Thanks for catching it. I'll have a new release out later today.

#8

Status:active» fixed

fixed with beta8

#9

Seems still not fixed in beta 8 line 123:

$sql = "SELECT DISTINCT(vv.name) FROM {views_view} vv JOIN drupal_views_display vd ";

#10

Funny how you can look right at something and not see it. Fixed in beta9.

#11

Status:fixed» closed (fixed)

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

#12

same problem on line 175 with 6.x 2.0