Closed (fixed)
Project:
Advertisement
Version:
5.x-1.1
Component:
ad.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2007 at 21:51 UTC
Updated:
25 Jan 2008 at 13:43 UTC
I needed to extend Ad node type with two CCK fields. One is image and one is text. When I submit new node for a firs time it doesn't save values provided for CCK fields. When I edit node again CCK fields got saved.
I suspect the bug is in node save which not invoke nodeapi properly
I have only ad_image ad type enabled so I don't know if it affect all ad types or not.
Comments
Comment #1
jeremy commentedAre you using the core CCK functionality, or a contrib module? Can you offer detailed steps for how to reproduce this?
Comment #2
vito_swat commentedI use contrib content.module with text CCK and image CCK enabled.
Steps to reproduce:
1. install contrib CCK module v. 1.5 stable
2. turn on content and i.e. text modules
3. go Administer >> Content types
4. Edit Ad type
5. Add new text filed. Name it i.e. intro. Give it default value like "this is test". Check "Filtered text (user selects input format)" (make sure to have filtered HTML as input format
6. Save filed settings
7. create new ad as usual. You may change default value of intro text or not. doesn't matter
8. view added ad.
Expected:
field intro have text entered during adding
Result:
field intro is empty (not showing)
9. edit this ad once again
10. put some text in intro field
Result:
This time everything is ok. Field intro is properly showing entered text.
If you have any problems with reproduction I can give you access to my test site.
Comment #3
vito_swat commentedIs there any progress? It's really annoying..
Comment #4
jeremy commentedI try and keep up with bugs, but I develop the ad module in my spare time. I don't actually use CCK, so this is not a high priority for me. I'll review it closer eventually, but only when I find the time.
Comment #5
jeremy commentedFixed in this issue.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.