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

Sitecore 9 Support #43

Open
gjaray-geekhive opened this issue Jun 8, 2018 · 1 comment
Open

Sitecore 9 Support #43

gjaray-geekhive opened this issue Jun 8, 2018 · 1 comment

Comments

@gjaray-geekhive
Copy link

gjaray-geekhive commented Jun 8, 2018

When Url Rewrite is installed in a sitecore 9 system I get the following error:

Source: Hi.UrlRewrite
   at Hi.UrlRewrite.Caching.RulesCache.SetRules[T](IEnumerable`1 outboundRules, String key)
   at Hi.UrlRewrite.Caching.RulesCache.SetInboundRules(IEnumerable`1 inboundRules) in C:\git\UrlRewrite\Hi.UrlRewrite\Caching\RulesCache.cs:line 31
   at Hi.UrlRewrite.Processing.RulesEngine.GetCachedInboundRules() in C:\git\UrlRewrite\Hi.UrlRewrite\Processing\RulesEngine.cs:line 254
   at Hi.UrlRewrite.Processing.InboundRuleInitializer.Process(PipelineArgs args) in C:\git\UrlRewrite\Hi.UrlRewrite\Processing\InboundRuleInitializer.cs:line 30

and

PID[8108] Error       2088 20:15:50 ERROR UrlRewrite[web]::Exception occured
Exception: System.MissingMethodException
Message: Method not found: 'System.Object Sitecore.Caching.CustomCache.GetObject(System.Object)'.
Source: Hi.UrlRewrite
   at Hi.UrlRewrite.Caching.RulesCache.GetRules[T](String key)
   at Hi.UrlRewrite.Caching.RulesCache.GetInboundRules() in C:\git\UrlRewrite\Hi.UrlRewrite\Caching\RulesCache.cs:line 26
   at Hi.UrlRewrite.Processing.InboundRewriteProcessor.GetInboundRules(Database db) in C:\git\UrlRewrite\Hi.UrlRewrite\Processing\InboundRewriteProcessor.cs:line 82
   at Hi.UrlRewrite.Processing.InboundRewriteProcessor.ProcessUri(Uri requestUri, Database db, InboundRewriter urlRewriter) in C:\git\UrlRewrite\Hi.UrlRewrite\Processing\InboundRewriteProcessor.cs:line 69
   at Hi.UrlRewrite.Processing.InboundRewriteProcessor.Process(HttpRequestArgs args) in C:\git\UrlRewrite\Hi.UrlRewrite\Processing\InboundRewriteProcessor.cs:line 36

This appears to be similar to #28 and leads me to believe that sitecore regularly changes their caching model.

Do you have any plans to support Sitecore 9 with this module?

@markgibbons25
Copy link

See https://github.com/davvves/UrlRewrite/tree/sc9update and I think you had an old version anyway

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

No branches or pull requests

2 participants