Download & Extend

Domain Advanced shows duplicate nodes across multi-sites?

Project:Domain Access Advanced
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:domain access, multi-site

Issue Summary

Hello,

I am currently testing out the Domain Access module 6.x-2.0-rc6 with Domain Advanced 6.x-1.0-rc1.

I have two domains: www.site1.com and www.site2.com.

When I create a node (e.g) “mystory.htm” to appear ONLY in site1.com (using domain access in node edit) the following happens :

1. On http://www.site1.com/mystory.htm the story appears where it should.
2. If I then COPY the ‘mystory.htm’ from the browser into: http://www.site2.com/mystory.htm this story then appears and shouldn't. This would have implications for duplicate content.

On a test without using the Domain Advanced module, the above behavior does not happen and I get “access denied” on point 2 as I would expect to happen.

I hope this makes sense and would appreciate your comments.

Thanks,
Tim Jones

Comments

#1

Experiencing similar issues. On list pages, the node will not show when it is not supposed to, but if accessed directly it will indeed load.

#2

I believe this is a duplicate of http://drupal.org/node/478404. If you use the patch that mindgame presents there, this behavior goes away.

#3

Version:6.x-1.0-rc1» 6.x-1.x-dev

I've installed the dev candidate (which incorporates this patch) yet I still see this behaviour. The issue seems to be that domain_adv_node_access is not getting called (or if it is, when I try and test by sticking dpm("test) etc at the top, nothing happens.)

I need this module as I want to use Content Access, and it seems to have everything working fine, but all content is available on both domains for anonymous users if they go there directly (i.e. it doesn't show up in the menu, but accessing it via the URL does show it, whereas it shows "Access Denied" when Domain Advanced is disabled.

Any ideas what I can do to test?

#4

Actually, and my understanding of this is limited: I don't know whether all the patch does anyway is fix it appearing in the menu (as it acts on hook_menu_alter) so it doesn't have anything to do with content appearing when going direct to the URL? Could be wrong here though.

Alternatively, I wonder whether the is is that I'm also using Revisioning and that does something conflicting with hook_menu_alter as well?

nobody click here