I have created a new content type with cck called "request". I am using the workflow and workflow_fields module to determine a workflow which allows the content to be pushed through a process providing edit access to certain fields for different user roles along the way. The problem is the following:
1. When I first create a new request, I fill out the cck fields, select the workflow state I want the request to move to and submit
2. After submission, the form fields of type text field widget (not required) show 0 instead of the content I typed. Interestingly, the other form fields such as the content Title and a user reference select list retain their content.
3. If I then edit the content and resubmit, the content persists (it is not zeroed out). So, this zeroing out only seems to happen at creation and only for text type fields.
Any thoughts on why this might be happening? I don't have this problem when I disassociate the workflow from the content type so it can't be cck alone that is causing the problem.
Thanks!
Comments
Hmm. Just removing and
Hmm. Just removing and re-adding the offending fields did the trick. Not sure what the problem was, but, hey, it's working now.
OK, problem solved
I realized that the reason my fields were zeroing out was that I had disallowed the "author" from editing the field in the workflow fields module. I hadn't expected that to be a problem since I had allowed users of the author's role to edit the fields, but apparently it was problematic.