Closed (works as designed)
Project:
Domain
Version:
7.x-3.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2012 at 15:50 UTC
Updated:
2 Jan 2014 at 19:06 UTC
Jump to comment: Most recent
Comments
Comment #1
croryx commentedAre you logged in as User 1? See the relevant FAQ page for common reasons why this might happen.
Comment #2
jan.s commentedNo, I'm not logged in at User 1.
I found the bug because all duplicate pages are available in Google now.
Comment #3
jan.s commentedThank you for the debugging hint.
Unfortunately debugging is not working. I gave the permission to all authenticated users and enabled debugging, but I can't see any debug information. Tested also with theme Seven and Garland.
Seems Domain Access have some problems in my installation.
Comment #3.0
jan.s commentedtypo
Comment #4
agentrickardUse Devel Node Access and the Domain "Server info" block.
It could be that the wrong domain is loading -- or failing to load -- and the site is loading the default domain.
This is not a bug, since it is unique to your site.
Comment #5
agentrickardWhich version of Drupal? I haven't tried 7.14 yet.
Comment #6
jan.s commentedI must reject my answer #3.
I uninstalled content access. But I still have problems.
Now content is only visible when "Send to all affiliates" is checked. But then it is shown on all sites. If I select only one or more domains and not "Send to all affiliates", the content is not shown on any website.
I think there are really some things broken. Unfortunately the Node Access block from Devel is not working. I'm using Drupal 7.12.
The domain Server Info block is not visible (and this cannot be changed, right?) to anonymous users.
Comment #7
jan.s commentedI have 3 domains with the ids 2, 3 and 4.
If I select "Send to all affiliates" and domain 3 then the database tables looks like these:
drupal_domain_access
nid|gid|realm
959|0|domain_site
959|3|domain_id
drupal_node_access
nid|gid|realm|grant_view|grant_update|grant_delete
959|0|domain_site|1|0|0
959|3|domain_id|1|1|1
The node is visible on all domains for anonymous and authenticated users.
If I do not select "Send to all affiliates" but domain 3 then the database tables looks like these:
drupal_domain_access
nid|gid|realm
959|3|domain_id
drupal_node_access
nid|gid|realm|grant_view|grant_update|grant_delete
959|3|domain_id|1|1|1
The content is not visible at any domain to anonymous users. But the content is visible to authenticated users at all domains.
Strange... any idea?
Comment #8
jan.s commentedHi agentrickard,
I now have a full dev environment for testing.
And interesting: I could reproduce the same problem on another drupal website. I think it is a bug/incompatibility.
Best regards
Jan
Comment #9
agentrickardThe behavior in comment 7 suggests that you have enabled Domain Strict by accident.
When you disabled Content Access and rebuilt the node access table, do you have any records in there whose realm is not domain_*?
Comment #10
jan.s commentedHi agentrickard,
thank you so much for your help. "Domain Strict" was enabled in all cases.
My suggestion would be, not to enforce the Domain Strict behaviour when the module is enabled. It would be nice to be able to select this on a settings page that comes with that module. I would recommend this because the modules functions have a large impact to the site's access rights behaviour.
Thank you! Great module :-)
Jan
Comment #11
jan.s commented