Using a Blueprint to create a new Space giving double of all the content in both spaces.

Events happening in the community are now at Drupal community events on www.drupal.org.
paulrussell's picture

I posted this in the issues for Open Atrium and I am not sure if it is kosher to post it here as well. If not tell me.
I am not a technical person and it is likely that I am missing something very obvious.

I followed the instructions in Mike Potters excellent guide to “Using Blueprints to clone spaces in Open Atrium 2” @ http://www.phase2technology.com/blog/using-blueprints-to-clone-spaces-in...

The only thing I did not do in the guide is set up the template as a draft. I set it up as a space with dummy content as our site is not live yet. I am not sure if this is significant.

When I generate the new space from the blueprint some strange behavior occurred. When I am logged in as Admin I get double of all the content in each space. Also double the menus:
Opinion Polls
Discussions
News
Tasks
Calendar
Invoices and Receipts
Legal Documents
Image Gallery
Drawings and Plans
Invoices and Receipts
Legal Documents
Image Gallery
Drawings and Plans
Opinion Polls
Discussions
News
Tasks
Calendar

When I log in as a client I see only the content in the space that the client has access to. So for the client it works fine. If however I give this client access to the new space they also get the double content.
We have a use case were we manage a number of condominiums and their apartments. So an owner has access to their Condominium Space and to their Apartment Space. But when you log in as admin and go to a space you get all the content from all the condos and all the content from all of the apartments. A big unmanageable mess.
I think that I must be missing something in the way the content types are set up but I have no idea what configuration I need to change so that content of an apartment or condominium is only visible in its Space even with Admin permissions. Is this controlled in Views or the configuration of the content type or somewhere else?
I have another test site on the same server with the same setup and it has the same problem so it would seem that it is like this out of the box.
Can someone please point me in the right direction?
Thanks

Comments

Same issue

andrimont's picture

I just confirm that it is out of the box issue : I had the same issue on the latest version of OA: the content of the blueprint space is doubled.
I stop using the blue print and deleted the extra content.

I think that's by design

msharp.chi's picture

The blueprint functionality clones the content of the space. All of it. And if the space you're making a blueprint from, has also been made from another blueprint with content, then I think it'll copy that too. Maybe that's where you're getting all the doubling up.

I'm using it just to create a structure and set some basic settings (adding default sections and theming). But no content, for this reason.

Blueprint?

hollyfox's picture

I am not familiar with blueprints. This must be a new plugin or feature for OA. However, I have always just used the space template to promulgate content across all spaces. I guess this may not work if you want two spaces to have one content and two others to have different content. Yet, if there are not massive amounts of spaces with differences, would it not make sense to alter the default space and them make changes to the others?

When it come to OA, many times, less modules is best IMHO. There is an awful lot of modules out there that just do not do what they say they will do and adding to the heap and hoping for the best may not be the best approach. Use the modules that work for you and can the rest.

We have about 23 spaces and all start as a default. From there, the content changes are simple once one gets to know the panelizer. This problem also appears to be an issue with the views panes being added to the content, but I am unable to ascertain this without seeing the site.

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week