Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
2015-04-23_204622.png | 154.82 KB | joevagyok |
Comments
Comment #1
joevagyok CreditAttribution: joevagyok commentedreproduced on 2.40-rc1
Comment #2
mpotter CreditAttribution: mpotter commentedI 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.
Comment #3
joevagyok CreditAttribution: joevagyok commentedNo, 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.
Comment #4
mpotter CreditAttribution: mpotter commentedCan 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.
Comment #5
joevagyok CreditAttribution: joevagyok commentedI 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.
Comment #6
joevagyok CreditAttribution: joevagyok commentedComment #7
joevagyok CreditAttribution: joevagyok commentedI found that, the Blueprint generated subspaces are won't inherit in the Config->Variables the Site Information datas.
Comment #8
mpotter CreditAttribution: mpotter commentedCan 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.
Comment #9
joevagyok CreditAttribution: joevagyok commentedAll the steps are done with admin account.
Comment #10
mpotter CreditAttribution: mpotter commentedOK, 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.
Comment #11
hefox CreditAttribution: hefox at Phase2 commentedIt 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.