{"action":"closed","issue":{"url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/2669","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/2669/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/2669/comments","events_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/2669/events","html_url":"https://github.com/OrchardCMS/OrchardTest/issues/2669","id":67825711,"number":2669,"title":"Added menu item -> ClaySharp.Clay' does not contain a definition for 'Replace'","user":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OrchardCMS/OrchardTest/milestones/14","html_url":"https://github.com/OrchardCMS/OrchardTest/milestones/Orchard%201.6.1","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/milestones/14/labels","id":1062859,"number":14,"title":"Orchard 1.6.1","description":"Please read our release notes for Orchard 1.6:\n[url:http://docs.orchardproject.net/Documentation/Orchard-1-6-Release-Notes]\n\nOrchard 1.6.1 is a security update:\n[url:http://docs.orchardproject.net/Documentation/Patch-4-30-2013]\n\n*Please* do not post questions as reviews. Questions should be posted in the Discussions tab, where they will usually get promptly responded to. If you post a question as a review, you will pollute the rating, and you won't get an answer.","creator":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":26,"state":"closed","created_at":"2015-04-11T05:02:13Z","updated_at":"2015-04-11T19:43:28Z","due_on":"2013-04-30T07:00:00Z","closed_at":"2015-04-11T05:02:13Z"},"comments":5,"created_at":"2012-07-19T07:59:25Z","updated_at":"2015-04-11T19:43:26Z","closed_at":"2015-04-11T19:43:26Z","body":"__Znowman__ created:\r\nhttps://orchard.codeplex.com/workitem/18842\r\n\r\nI've added a menu item to the menu after i played a widget with that menu:\r\n\r\n'ClaySharp.Clay' does not contain a definition for 'Replace'\r\n\r\nDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. \r\n\r\nException Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'ClaySharp.Clay' does not contain a definition for 'Replace'\r\n\r\nSource Error: \r\n\r\n\r\nLine 8:  } else {\r\nLine 9:      string requestUrl = Request.Path.Replace(Request.ApplicationPath, string.Empty).TrimEnd('/').ToUpperInvariant();\r\nLine 10:     string modelUrl = Model.Href.Replace(Request.ApplicationPath, string.Empty).TrimEnd('/').ToUpperInvariant();\r\nLine 11:     if (requestUrl == modelUrl) { \r\nLine 12: \t    Model.Classes.Add(\"current\");\r\n\r\nSource File: c:\\svn\\Quebble\\V3\\src\\Orchard.Web\\Core\\Shapes\\Views\\MenuItem.cshtml    Line: 10 \r\n"}}