Closed (fixed)
Project:
Entityform
Version:
7.x-1.0-alpha4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
9 Jun 2012 at 21:46 UTC
Updated:
13 Jun 2016 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tedbowI can't get this to happen. Can you try the last git version?
Comment #2
Anonymous (not verified) commentedAlso in the latest version (git) it happens.
It could be related with installation and removal of Content Access and Premium Contect modules.
Which function renders the page so I can debug it?
Comment #3
tedbowTake a look at entityform_form_wrapper
Comment #4
Anonymous (not verified) commentedIf I run with admin entity_form_wrapper is called. The form is shown.
If I logout and then call the form, entity_form_wrapper is not called and so the form is not shown.
Comment #5
Anonymous (not verified) commented-- deleted
Comment #6
Anonymous (not verified) commentedI have created a database from scratch. Made a simpel form.
Form can be seen by administrator. Even if the administrator is not in the access settings list.
If I create a user and log in with (access settings for authenticated and anonymous) he cannot see
the form. Also an anonymous user does not see the form.
It looks like the access settings are being bypassed.
I have attached the database for the use case above.
admin: admin/admin
test: test/test
Enabled modules:
Chaos tool suite Chaos tools (ctools) Module Enabled 7.x-1.0
Core Block (block) Module Enabled 7.14
Core Color (color) Module Enabled 7.14
Core Comment (comment) Module Enabled 7.14
Core Contextual links (contextual) Module Enabled 7.14
Core Dashboard (dashboard) Module Enabled 7.14
Core Database logging (dblog) Module Enabled 7.14
Core Field (field) Module Enabled 7.14
Core Field SQL storage (field_sql_storage) Module Enabled 7.14
Core Field UI (field_ui) Module Enabled 7.14
Core File (file) Module Enabled 7.14
Core Filter (filter) Module Enabled 7.14
Core Help (help) Module Enabled 7.14
Core Image (image) Module Enabled 7.14
Core List (list) Module Enabled 7.14
Core Menu (menu) Module Enabled 7.14
Core Node (node) Module Enabled 7.14
Core Number (number) Module Enabled 7.14
Core Options (options) Module Enabled 7.14
Core Overlay (overlay) Module Enabled 7.14
Core Path (path) Module Enabled 7.14
Core RDF (rdf) Module Enabled 7.14
Core Search (search) Module Enabled 7.14
Core Shortcut (shortcut) Module Enabled 7.14
Core System (system) Module Enabled 7.14
Core Taxonomy (taxonomy) Module Enabled 7.14
Core Text (text) Module Enabled 7.14
Core Toolbar (toolbar) Module Enabled 7.14
Core Update manager (update) Module Enabled 7.14
Core User (user) Module Enabled 7.14
Entityforms Entityforms (entityform) Module Enabled 7.x-1.0-alpha4
Fields Entity Reference (entityreference) Module Enabled 7.x-1.0-rc3
Fields pgn2html (pgn2html) Module Enabled
Other Entity API (entity) Module Enabled 7.x-1.0-rc3
Views Views (views) Module Enabled 7.x-3.3
Core Bartik (bartik) Theme Enabled 7.14
Core Seven (seven) Theme Enabled 7.14
also tested with
Entityforms Entityforms (entityform) Module Enabled 7.x-1.0-alpha4+6-dev
same result.
Comment #7
tedbowIf you are using user uid =1 then they have all permissions. Also if "authenticated" is given access that means every user who has any role.
Please try the latest dev version of Entityform
Thanks
Comment #8
Anonymous (not verified) commentedDone that already.. same result.
Comment #9
tedbowI see you have "Entity Reference" enabled. Are you viewing the form when it is embedded in a field?
Comment #10
Anonymous (not verified) commentedYes,
That is correct.
Willem
Comment #11
tedbow@wvdakker, ok just FYI use of "Entity Reference" should have be part of original description.
Do you have the same problem if you use the direct "submit link" of the entity form?
Comment #12
Anonymous (not verified) commentedIf I directly use the submit link (http://localhost/?q=eform/submit/form) then the form is shown
for the anonymous user.
Problem with entity reference?
Comment #13
tedbowIf you can debug "entityform_access" is the function that determines access.
Comment #14
Anonymous (not verified) commentedentityform_access is never been called.
Not for the admin user not for the anonymous user.
gr,
Willem
Comment #15
tedbowOk, I am now seeing the problem. Trying to figure it out
Comment #16
tedbowOk, changed this to a bug.
I have also attached a patch. Please try it out and let me know if it works for you. I would also appreciate if you could test it out with regular entityforms(not with entity reference)
Thanks
Ted
Comment #17
Anonymous (not verified) commentedThanks, it works for the entity reference.
I will later today test it wit the regular entity forms.
gr,
Willem
Comment #18
Anonymous (not verified) commentedIt also works with the regular forms.
gr,
WIllem
Comment #19
tedbowOk, I committed this patch to the dev version