Download & Extend

All content on filtered forms saved out by non-administrators is saved under UID 0

Project:Formfilter
Version:6.x-1.0
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:active
Issue tags:anonymous, uid

Issue Summary

Had a ton of fun tracking down this issue.

To replicate:

  • Filter a node creation form (page/story/etc)
  • Create a user and give them access to create the same content type
  • Save the content out
  • Look in your node table. You will see that the UID is 0 for the content you just created.
  • I would not recommend using this module on forms used to create content until this is resolved.

    Comments

    #1

    good catch!

    #2

    Eeerm. Just tried this and couldn't replicate the problem ? Had a glance at the code and doesn't seem likely it affects the UID.

    El B

    #3

    Nope - this is still outstanding.

    I've got several roles, including role "1" for creating record X, another role "2" for making changes to some parts/fields of record X.

    UID is properly stored during creation of record X by Role 1.

    Role 2 does _not_ have admin rights; FormFilter is config'd to NOT show the Authoring fieldgroup in the form.

    When role 2 saves record X, the node's UID changes to "0".

    FWIW, when I add "view forms without filtering" permission to Role 2, the Authoring fieldgroup _does_ show the proper author, and saving the record does NOT result in UID changing to "0".

    #4

    Just rechecked the queue, and this seems to be a duplicate of http://drupal.org/node/790978. I'll see you there.

    nobody click here