Closed (fixed)
Project:
Domain
Version:
5.x-1.0rc1
Component:
- Domain Content
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 16:32 UTC
Updated:
10 Sep 2009 at 11:44 UTC
The Problem is back (see also: http://drupal.org/node/197757)
After installing I have the following entries in my node access table, showing all nodes on domain 0 and 2:
nid gid realm aufsteigend grant_view grant_update grant_delete
0 2 domain_id 1 0 0
0 0 domain_id 1 0 0
Removing them solves the problem.
what i did:
installed/enabled one by one:
changed settings for default domain:
then
then used "affiliated content" listing for default domain to bulk change domain access settings. sub 1 works fine.
Comments
Comment #1
agentrickardThis is a great bug report.
I think the problem is (obviously) here:
What, exactly, did you do here? My suspicion is that an nid of 0 is being passed here somewhere.
Comment #2
agentrickardFound it.
Comment #3
agentrickardThe $form_values['nodes'] array wasn't coming through as I expected it to when processing the form in Domain Content.
Patch is to wrap this statement in an IF.
Line 371 of domain_content.module:
Proper patch possible later, if you can test this fix, that would be great.
Comment #4
derjochenmeyer commentedI was suspecting the batch editing before :) (see: http://drupal.org/node/197642#comment-649210) maybe that issue is however related?
Thanks for the fix! I'll test it :)
Comment #5
agentrickardYes. I believe these are the same error. Before I removed the node_operation for "change affiliate publishing" to only function on the Domain Content page, this same error would be repeated, I believe, if you used Drupal's normal batch editing mode.
Comment #6
derjochenmeyer commentedI did a lot of batch editing and had no problems with unwanted node_access entries. Fix works. (however, is this related? http://drupal.org/node/202830)
Comment #7
agentrickardComment #8
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
kenorb commentedRelated #400268: published content displays on all sites