Buxfix when no sharing is set in the selector factory
Null pointer exception thrown in selector factory when no sharing mode was set in the application.
This commit is contained in:
+12
-1
@@ -30,7 +30,18 @@
|
|||||||
*/
|
*/
|
||||||
public abstract class fflib_DynamicAppFactory
|
public abstract class fflib_DynamicAppFactory
|
||||||
{
|
{
|
||||||
protected fflib_SharingMode sharingMode;
|
protected fflib_SharingMode sharingMode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (sharingMode == null)
|
||||||
|
{
|
||||||
|
sharingMode = fflib_SharingMode.WithSharing;
|
||||||
|
}
|
||||||
|
return sharingMode;
|
||||||
|
}
|
||||||
|
set;
|
||||||
|
}
|
||||||
protected fflib_IAppBindingResolver resolver;
|
protected fflib_IAppBindingResolver resolver;
|
||||||
protected Map<System.Type, System.Type> routes;
|
protected Map<System.Type, System.Type> routes;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user