Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix update notification for not localized languages #7811

Merged
merged 1 commit into from
May 11, 2014

Conversation

marcelgerber
Copy link
Contributor

This fixes #7810.

@ingorichter ingorichter self-assigned this May 11, 2014
@ingorichter
Copy link
Contributor

That fixes the problem. It's too late now, but there is something wrong with the unit tests, since I was never able to reproduce the behavior that I saw (the always handler being called). I might have overlooked something when mocking $.ajax. I assume, that there is something missing to trigger the always handler.

ingorichter added a commit that referenced this pull request May 11, 2014
Fix update notification for not localized languages
@ingorichter ingorichter merged commit d4e67c3 into adobe:release May 11, 2014
@marcelgerber marcelgerber deleted the fix-update-notification branch May 11, 2014 10:06
@marcelgerber
Copy link
Contributor Author

@ingorichter I debugged the test a bit and saw that, for some reason, it's running synchronous.
I.e. the inner always is called before the outer one is called.

@ingorichter
Copy link
Contributor

@SAplayer Which would explain why the tests didn't catch this issue. I wonder what is wrong with the tests. Perhaps the way I'm mocking the ajax call is plainly wrong.

@marcelgerber
Copy link
Contributor Author

@ingorichter Fix for the tests is up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants