I have created space with subspace and under sections.
I created blueprint to clone them.
After cloning in subspace the site name changes to "Drupal" and the slogan disappear.

If you enter to the subspace then to the admin ->config->site informations you will find those changed, the you go back to homepage then back admin/config/site info and everything is fine.

CommentFileSizeAuthor
2015-04-23_204622.png154.82 KBjoevagyok
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joevagyok’s picture

Version: 7.x-2.33 » 7.x-2.40-rc1

reproduced on 2.40-rc1

mpotter’s picture

I cannot reproduce this. Did the space that you created the blueprint from have a space override for the Site name, etc? Those variables can be overridden on a per-space basis in the Space -> Config -> Variables page.

joevagyok’s picture

No, what I did is only a space, with a subspace. I didn't touch the variables there.
I created a blueprint, and than the cloning, and apparently the cloned subspace has this issue.

mpotter’s picture

Can you post the exact steps for reproducing this on a fresh 2.40-rc1 site? I'm not seeing this happen and I certainly don't know of any code in OA2 that would change the sitename, email, or slogan variables directly.

joevagyok’s picture

I was able to do it, I missed one key point here, generate the blueprint under a space, so you should have 3 spaces (1 created by hand, and under this: 2 generated via blueprint clone) as a result. When you are in the lowest (3rd) subspace, there you have the site name changed.

joevagyok’s picture

Version: 7.x-2.40-rc1 » 7.x-2.40
joevagyok’s picture

Version: 7.x-2.40 » 7.x-2.42

I found that, the Blueprint generated subspaces are won't inherit in the Config->Variables the Site Information datas.

mpotter’s picture

Can you give the exact steps for reproducing this? The Variables inheritance changed in the recent 2.42 version to support subspace inheritance. This wasn't implemented in previous versions. So you might need to go into the blueprint base space/subspace and re-save any variable changes, such as the site name and then re-clone them. But if it still doesn't work, post the exact steps.

joevagyok’s picture

All the steps are done with admin account.

  1. Update done from 2.41 to 2.42
  2. create a space, under one subspace, under several section
  3. after create a blueprint of the root space
  4. generate the clone of the spaces
  5. now you should see in the title "Subspace name | Drupal"
mpotter’s picture

OK, confirmed this. Looks like what is happening is that the site variables get cleared and then Drupal fills in the default site name (Drupal). Looks like an issue with the cloning process and not really related to inheritance.

hefox’s picture

Version: 7.x-2.42 » 7.x-2.x-dev
Component: Code » Clone App
Status: Active » Fixed

It was cloning all variables that are possible to override even if wasn't overrdding, and for sub spaces, defaulting to NULL, and for any null value, it seems to indicate to ignore site variable data weirdly enough.

Changed it to only clone variables that are actually overridden. Didn't do an update operation to remove the null values as I may be possible to set that via some variable uis, so might loose legitmate overrides, though could write one if deemed really needed. Existing subspaces can be fixed by resetting the variable per subspace via button on variables page that will exist next og_variables release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.