You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Lakedaemon
changed the title
Scope name collisions will create weird bevaviro/issues, hard to debug
Scope name collisions will create weird bevavior/issues, hard to debug
Jun 23, 2015
The way used to name scopes will create awfull issues (hard to understand/debug) :
You shouldn't use the class name for scopes like this :
@OverRide
public Context setUpContext(Path path, Context parentContext) {
MortarScope scope = screenScoper.getScreenScope(parentContext, path.getClass().getName(), path);
return new TearDownContext(parentContext, scope);
}
It took me 1 week to understand that this was causing all the problems I had in my app.
See there :
square/mortar#163
This is related to
square/mortar#149
And a fix was suggested upstream there :
square/mortar#161
The text was updated successfully, but these errors were encountered: