Closed (fixed)
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 23:49 UTC
Updated:
4 Nov 2019 at 21:00 UTC
Jump to comment: Most recent
Comments
Comment #1
plachI absolutely cannot reproduce this. Please provide more info.
Comment #2
dboulet commentedI’ve updated the steps to reproduce above. It turns out that I also had the Backup and Migrate module enabled, and this bug only happens with both modules enabled. I was able to reproduce this from scratch using the minimal install profile.
I’m guessing that there is some sort of conflict between these modules, or a bug in one of them—just have to figure out which one.
Comment #3
reubenavery commentedI also confirm that it is the presence of Backup Migrate (enabled) that makes this happen. I cannot for the life of me figure out why, though. Neither of them has anything to do with hook_theme_registry_alter or a similar suspect.
I created an issue #1379152: Breaks admin theme in the backup_migrate queue for this as well.
Comment #4
dboulet commentedA very similar issue exists here: #1100166: Admin theme disappears after cache clear. I’m wondering if that issue can give us a clue...
Comment #5
reubenavery commentedRe #4 -- FWIW, I am not using Term Fields on my particular site..
Comment #6
dboulet commentedMe neither, I just thought that maybe the comments in that issue could maybe offer some hints...
Comment #7
plachPossibily related issue: #1377542: Do not always use the admin theme.
Comment #8
danny englanderHi all, I am having a similar issue as some of the ones described here, however mine is just slightly different so I don't know if I should open a new issue or add on to this one. Here are my specific symptoms.
When I save the modules page or perhaps a display settings page for a content type, the admin theme goes away and changes to a front end theme. Sometimes, I have noticed that even the overlay gets hosed and admin pages revert not only to the front end theme but to one without an overlay.
I have narrowed down this behavior happening with only this module enabled in combination with Backup and Migrate. If I disable Backup and Migrate, then the behavior goes away and likewise if I diable Entity translation, the behavior of losing my admin theme goes away as well. However, it does not happen with just Backup and Migrate enabled without Entity translation enabled so Entity translation seems to be the catalyst to set this off? ** Note if I reload a page where the admin theme has gone away, it comes back after reload. It does not bother me as a site builder but for my editors, I know they will get confused by this.
Comment #9
dboulet commentedhighrockmedia, that sounds like the same issue.
Comment #10
KubriK commentedI can confirm #8 symptoms. Having the same issue on two of my sites.
Also i couldn't override this misbehavior with hook_custom_theme().
Comment #11
brightboldI too have experienced this problem, but hadn't been able to figure out what was causing it. If someone comes up with a solution I'm happy to test.
Comment #12
peximo commentedThe problem seems to be in call to
menu_get_router()(function entity_translation_entity_info_alter).Some contrib modules (in my case views) initialize the theme in an incorrect phase.
Possibily related issue: #1341314: Nested call of entity_get_info() due to menu_get_router() in entity_translation_entity_info_alter() .
Comment #13
danny englanderI have been able to completely reproduce this issue on an entirely new site I am developing. The admin theme was fine with Backup and Migrate enabled. Once I added in Entity Translation into the mix, immediately my admin theme started reverting to the front end theme on node edit saves, module page saves, field saves etc...
Comment #14
plachPostponing this on #1341314: Nested call of entity_get_info() due to menu_get_router() in entity_translation_entity_info_alter() .
Comment #15
plachPlease try the latest dev (a new snapshot will be out in 4 hours) and check whether the issue is now fixed.
Comment #16
plachCleaning up the queue.
Reopen if needed.
Comment #17
johnennew commented@plach - do you know what caused and fixed this issue - I'm seeing it on a site without Entity Translation and so another module likely has the same bug. Thanks!
Comment #17.0
johnennew commentedUpdated steps to reproduce.
Comment #18
gagsy commentedComment #19
Marko B commentedThis tends to happen if you have admin theme selected under admin theme section, but this theme is not enabled and is under disabled section.
Comment #20
stefanos.petrakisPlease don't add more information to a closed ticket, open a new ticket if needed.
Thanks! :)
P.S.: Following the "Steps to reproduce" in the issue's description shows that the problem doesn't occur with the current versions of ET and B&M.