By knowing_prophet on
When a user with Administer Nodes permissions tries to preview a node before submitting it, it goes to a page such as:
http://www.sitename.com/node/30
And displays the message:
"Your was created."
And a blank node is created.
When I disable Administer Nodes on their role the problem goes away.
I cannot say for sure when this behavior started. I recently upgraded from the 4.7 beta to the 4.7.0 release, so that could very well be when it began.
I'm building this site, so I have recently added several modules in the past couple of days. I have disabled all the recently added modules, but there was no change in behavior.
Thanks for any help you have.
Drupal: 4.7.0
Database: MySQL
Comments
I can confirm that this
I can confirm that this problem existed in 4.7rc2. I wasnt sure of the situation in which it occurs (although it did happen when demonstrating Drupal to a potential client ;)
RC2 was what I installed in
RC2 was what I installed in the first place, then upgraded to 4.7.0. I would hate to do it, but the best (although not easiest) solution would be to start with a clean install of Drupal 4.7.0 and rebuild from there. Considering there are a couple of other issues (with posting comments) this might be ideal. Has anyone had this problem and been able to fix it?
I'm experiencing this
I'm experiencing this problem on a 4.7.3 install. When administrative users attempt to preview, the content is submitted as "Anonymous" and the message "Your was created." is returned.
Tapping into nodeapi, I notice it is going through the following process on preview (same as submit):
prepare, validate, view, submit, insert
when it would normally be:
prepare, validate, view
I found a couple other mentions of this problem on the forum, but little in the way of reponses and no solutions offered. Anyone? I wonder if this problem is fixed in 4.7.5.
---
www.whatwoulddrupaldo.org
Me too.
*somehow managed to double-post*
Me too. I have 4.7.6 and
Me too.
I have 4.7.6 and while the previews worked for administers at the start they suddenly vanished - perhaps the installation of a module caused it though disabling any recent ones make no change. I posted here: Preview posts / story / comments / any node suddenly broke? about it and have been searching for folks with similar issues. It wasn't until I stumbled upon this post that I tried seeing if regular users have the same problem. They don't , only administers have the missing preview thing going on.
Not that I have no issues with posting content and it being "submitted as anonymous" - admins get their credit where it's due it's just that they can not preview before posting.
If anyone is still having
If anyone is still having issues with this I've found that one of my modules was causing the troubles - once I turned off access to these modules for my admins (store and a few others, like categories/create categories etc) they can now preview.
The super-admin, 'god', can't preview still though, and of course the super-admin has access to all modules. So, in my case it's caused by a module - most likely categories or ecommerce store.
Update ECommerce
I found this problem on our site, and with the help of the forums isolated the problem to a bad Ecommerce module. The specific one was ProductAPI, and disabling it brought the preview function back to life. Doing an update to the newest of the EC packages (5.2-v3.3) fixed the bug. Hope this helps you, too.
Thanks! Will give upgrading
Thanks! Will give upgrading a go tonight to see if it works. :)
I have had the same
I have had the same problem...what helped me is bypass preview and submit my content...do not preview...just submit...this helped me.
Bypassing preview is fine,
Bypassing preview is fine, but it means some other modules don't fire off properly - especially the spam module which has many features that require the preview stage.