Closed (fixed)
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Rules integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2012 at 18:47 UTC
Updated:
9 Mar 2012 at 02:59 UTC
I have added a required CCK text field called "group" to my site content profile type. Since I want users to pick from a list of allowed values I have configured the CCK field to use a "select list" as input widget.
Unlike all other CCK fields in my content profile this field will not appear in the list of available replacement tokens for an action to be performed upon user login
...
[account:picture] The user's picture
[account:username-themed] The themed username (links to the user's profile for users who have permission to view user profiles)
[account:content-profile-profile-name] A user profile built as content.-Name
[account:content-profile-profile-name-raw] A user profile built as content.-Name WARNING - raw user input
[account:content-profile-profile-organization]
...
OTH if I change the input widget type of my group field to "text field" the field will happily appear in the list of available tokens
...
[account:picture] The user's picture
[account:username-themed] The themed username (links to the user's profile for users who have permission to view user profiles)
[account:content-profile-profile-name] A user profile built as content.-Name
[account:content-profile-profile-name-raw] A user profile built as content.-Name WARNING - raw user input
[account:content-profile-profile-organization] A user profile built as content.-Organization
[account:content-profile-profile-organization-raw] A user profile built as content.-Organization WARNING - raw user input
[account:content-profile-profile-group] A user profile built as content.-CCSI Group
[account:content-profile-profile-group-raw] A user profile built as content.-CCSI Group WARNING - raw user input
...
What am I doing wrong? Why can't I use a "select list" as widget type for my text field?
Comments
Comment #1
calaf commentedfixed by patch in 1123030