If I create two fields in a views data overlay (for instance, I want the image of a field, and then the URL of the same field), and chose one for the description, the attributes of the features created only have the description filled in and it is the most weighted field, meaning that one of the fields added will not be in the attributes.

Overall, I think somehow we are not referring to fields correctly.

I know my explanation of this is not very good, but I will look into this more soon and figure it out.

Comments

zzolo’s picture

Priority: Normal » Critical
zzolo’s picture

See http://drupal.org/node/905830 for more info on this.

Overall, field alias is a bad idea.

tmcw’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)
zzolo’s picture

Status: Closed (duplicate) » Active

No, this is a separate issue.

So, basically, if you add the same field twice to the Data Overlay View, and assign one to the description or title, then the other will not be available in the attributes.

My use case at the time was that I wanted to use an image for the node marker, then use it in the popup description as well.

zzolo’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Category: bug » task

Bumping to 7.x. Need to check if this still exists.

pol’s picture

Status: Active » Fixed

Hi,

I made the test with 7.x.

Views configuration: http://www.webpagescreenshot.info/img/100317-81201235833PM
Views result: http://www.webpagescreenshot.info/img/11583-81201235904PM

We see that the title is correctly rendered twice in the attributes list.
I close this, feel free to reopen.

Status: Fixed » Closed (fixed)

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