Closed (fixed)
Project:
Publish Content
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2010 at 14:39 UTC
Updated:
20 Dec 2010 at 18:30 UTC
With Node Publish Module (http://drupal.org/project/publishcontent) enabled also if i grant "promote to front page" to a role in the new node form the promote to front page checkbox does not appear.
With Publish Content Module everythings is ok, which module is guilty?
Saluti
BES
Comments
Comment #1
dave reidThe Noe Publish module is at fault because it unsets the form elements instead of using $form['access'].
Comment #2
aaronbauman#454660: not keeping defaults: for other publishing options , the patch in #5 addresses Dave Reid's points.
Here are the relevant chunks:
Explicitly set the access to the "status" checkbox:
If access to the options fieldset is already set to TRUE, we don't need to muss with the rest of the form - break here:
If access to the options fieldset is NOT set to TRUE already, we need to set it, AND we need to make sure that restricted users don't have access to its children elements.
For each element child, if
#accessis explicitly set, do not change it.Otherwise, assign it
FALSE.I've verified the reported issue and verified that it's fixed using the patch above.
Please re-activate if the patch above does NOT address the issue for you.
Postponing pending commit of referenced patch.
Comment #3
aaronbaumanClosing since the patch described above was committed.
Please reopen if this issue persists for you