Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/9db5b7963ef3dda444252a7f19f76f4f618d77f4?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

read is done using simple reflection strategy.

pull/2/head
kay.one 12 years ago
parent a46ef37f0b
commit 9db5b7963e

@ -10,6 +10,7 @@ namespace NzbDrone.Core.Datastore
{
private static readonly Dictionary<string, PropertySetterDelegate> SetterCache = new Dictionary<string, PropertySetterDelegate>();
private static readonly Dictionary<string, PropertyGetterDelegate> GetterCache = new Dictionary<string, PropertyGetterDelegate>();
private static readonly IReflectionStrategy readStrat = new SimpleReflectionStrategy();
private static PropertySetterDelegate SetterFunction(Type entityType, string name)
{
@ -48,7 +49,7 @@ namespace NzbDrone.Core.Datastore
public object GetFieldValue(object entity, string fieldName)
{
return GetterFunction(entity.GetType(), fieldName);
return readStrat.GetFieldValue(entity, fieldName);
}
public object CreateInstance(Type type)

Loading…
Cancel
Save