Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2008 at 09:02 UTC
Updated:
10 Jun 2008 at 21:24 UTC
At the moment, views of users can contain basic fields such as name and email. I'd like the ability to include custom fields created with profile.module.
Comments
Comment #1
merlinofchaos commentedProfile fields are implemented and they're working and have been since before the beta phase.
Comment #2
tantenic commentedIn 6.x-2.0-alpha5 I was able to add profile fields.
In 6.x-2.0-beta3 I could not add a profile field. I tried several types like checkbox, selectlist or textfield
Comment #3
isani commentedI can see the profile fields now, but I could have sworn they weren't there before. Perhaps there's a bug with beta3 (as tantenic reports), or then I was just mistaken.
Comment #4
trofimchouk commentedSame bug.
I added one profile field to view (yesterday). Today I created new one, but I can't see it in Fields list on View edit page.
The field is a simple textfield. I tried to create one more field or one more view - no result.
This is for views-6.x-2.0-beta3.tar.gz
Comment #5
trofimchouk commentedOh! I cleared views cache and new fields are available now!
Whether it is normal behaviour?
Comment #6
trofimchouk commentedI found an answer :)
Disable views data caching:
Views caches data about tables, modules and views available, to increase performance. By checking this box, Views will skip this cache and always rebuild this data when needed. This can have a serious performance impact on your site.
Comment #7
RoboPhred commentedYou shouldn't need to leave that box checked. A one-time clear of the cache should cause views to rebuild it and get the information on new fields. For performance, you should lave that box unchecked, and just use the manual clear cache command whenever you add a new profile field.
Comment #8
merlinofchaos commentedIt is useful during development.
It is probably a bug that Views isn't monitoring profile.module's pages and clearing the cache when new fields are added. I can fix that easily enough.
Comment #9
merlinofchaos commentedComment #10
merlinofchaos commentedThis is now fixed in -dev.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.