Anonymous users have the right to "access content" and "creat myTestContentType". So they can access to the page /add/mytestcontenttype field the form and add the content without any problem. But all cck field are NOT saved. If i disabled the action on the node add (i send a e-mail when a node is added) all things work right.

Other module: imagefield, flexifield, mail field, modr8, webform

This is not the same bug like http://drupal.org/node/157440 because content Permissions module are disabled in my case.

Comments

gagarine’s picture

Title: Anonymous users can create content but the cck field are not saved if an action is enabled on the node add trigger » cck field are not saved if an action is enabled on the node add trigger for the Anonymous users
ssm2017 Binder’s picture

hello
im having the same problem.
if using an action, the fields are not saved for non admin users

gagarine’s picture

Version: 6.x-2.0-rc10 » 6.x-2.0
yang_yi_cn’s picture

some problem...

yched’s picture

Status: Active » Postponed (maintainer needs more info)

I cannot seem to reproduce.
- Allowed anonymous users to create and edit story nodes,
- added a trigger on "After saving a new post" and "After saving an updated post" to send a mail.
- log as anonymous
- create a story : all CCK fields are saved properly
- edit the story : all CCK fields are saved properly

Now, my local setup is not configured to *actually* send mails, so the mail() function raises a 'Failed to connect to mailserver' warning, but I hardly see how this could affect the behavior of the actual node saving ?

@ssm2017, yang_yi_cn : what are the actions you configured on node save ? also 'send mail' ?

yched’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Actually, (as could be expected), this is not specific to cck fields.
See #334243: trigger action kills all other module actions at node create/edit etc.

ssm2017 Binder’s picture

url redirection for me

oneiropolos’s picture

I am not sure if this is the right place to post my subject, but couldn't find anything more relevant.
I'm building a site where I've granted anonymous and authenticated users with exactly the same permissions. I created a content type and through views print some results on a page. The problem is that when an anonymous user creates content through this content type and clicks "Save" he gets a "Page Not Found", although it does actually create the content intended. When an authenticated user (who has exactly the same permissions) creates the same, everything is fine and he doesn't get a "Page not found"
Any ideas?

EDIT: this too was a matter of con. After I run cron everything was working perfectly.