Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force theme reload #4690

Closed

Conversation

adube
Copy link
Contributor

@adube adube commented Feb 26, 2019

This hack forces theme to be obtained upon reloading after a login/logout.

The solution was taken from Martin's answer in this question on Stack Overflow: https://stackoverflow.com/questions/16098430/angular-ie-caching-issue-for-http

I tried the first solution and it didn't fix the issue. Trying the second one did.

I don't understand what suddenly made the previous code stop working...

@adube adube requested review from sbrunner and fredj February 26, 2019 16:36
@fredj
Copy link
Member

fredj commented Feb 27, 2019

we found the cause of this issue with @sbrunner : the problem is that role_id is never defined because of the multi-role system. New PR to come.

@sbrunner
Copy link
Member

Thanks @adube for the initial investigations :-)

@adube adube deleted the 801-fix-edit-unavailable-desktop branch February 27, 2019 13:15
@sbrunner sbrunner added this to the dummy milestone Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants