Ad channel destroys the cck fields from the node object
introfini - April 16, 2009 - 01:02
| Project: | Advertisement |
| Version: | 6.x-2.0-beta6 |
| Component: | ad module |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I'm trying to debug this but is hard to find out where the problem is :-(
introfini

#1
Same in 6.x-2.0-rc1, and with Ad Weight Probability module too. But only when creating node, not editing. Disabling both modules solves the problem.
#2
The problem is related to the cache. if we empty the cache and then reload the node the cache is recreated and all is ok...
introfini
#3
Yes, you're right, emptying cache brings fields back. And it's in the table cache_content, record with cid content:nid:vid, that should be deleted. Don't know how it relates to Ad Channel and Ad Weight Probability modules.
#4
Duplicate: #436234: CCK nodes do not save on initial creation when ad_channel or ad_weight_probability is enabled
#5
Any progress on this issue?
I'm trying to automatically create an ad channel for new ads (when a CCK field_url is given), I'm having problems assigning the new ad to the new ad channel, but I'm also noticing the the field_url is blank when I go back to edit the new ad.