{"action":"created","issue":{"url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/144","labels_url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/144/comments","events_url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/144/events","html_url":"https://github.com/mikeedwards83/Glass.Mapper/issues/144","id":87382567,"number":144,"title":"Edit Mode Not Binding Properties","user":{"login":"geoffreysmith","id":275938,"avatar_url":"https://avatars.githubusercontent.com/u/275938?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreysmith","html_url":"https://github.com/geoffreysmith","followers_url":"https://api.github.com/users/geoffreysmith/followers","following_url":"https://api.github.com/users/geoffreysmith/following{/other_user}","gists_url":"https://api.github.com/users/geoffreysmith/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreysmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreysmith/subscriptions","organizations_url":"https://api.github.com/users/geoffreysmith/orgs","repos_url":"https://api.github.com/users/geoffreysmith/repos","events_url":"https://api.github.com/users/geoffreysmith/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreysmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T15:21:37Z","updated_at":"2015-06-15T15:04:04Z","closed_at":null,"body":"In edit mode I'm getting errors on all properties, but not in preview or live mode. They are like this:\r\n\r\nPage editting error. Could not find property Title on type System.Object\r\n\r\n   at Glass.Mapper.Utilities.GetGlassProperty[T,K](Expression`1 field, Context context, T model)\r\n   at Glass.Mapper.Sc.GlassHtml.MakeEditable[T](Expression`1 field, Expression`1 standardOutput, T model, Object parameters, Context context, Database database, TextWriter writer)\r\n\r\nAll my objects are interfaces and I'm in a pretty vanilla setup. This is using the latest NuGet version. Any ideas?"},"comment":{"url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/comments/112099557","html_url":"https://github.com/mikeedwards83/Glass.Mapper/issues/144#issuecomment-112099557","issue_url":"https://api.github.com/repos/mikeedwards83/Glass.Mapper/issues/144","id":112099557,"user":{"login":"geoffreysmith","id":275938,"avatar_url":"https://avatars.githubusercontent.com/u/275938?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreysmith","html_url":"https://github.com/geoffreysmith","followers_url":"https://api.github.com/users/geoffreysmith/followers","following_url":"https://api.github.com/users/geoffreysmith/following{/other_user}","gists_url":"https://api.github.com/users/geoffreysmith/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreysmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreysmith/subscriptions","organizations_url":"https://api.github.com/users/geoffreysmith/orgs","repos_url":"https://api.github.com/users/geoffreysmith/repos","events_url":"https://api.github.com/users/geoffreysmith/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreysmith/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T15:04:04Z","updated_at":"2015-06-15T15:04:04Z","body":"Yup,\r\n\r\n    public class EmployeePullQuoteController : Controller\r\n    {\r\n        private readonly ISitecoreContext _context;\r\n\r\n        public EmployeePullQuoteController(ISitecoreContext context)\r\n        {\r\n            _context = context;\r\n        }\r\n\r\n        public ActionResult Index()\r\n        {\r\n            var model = _context.GetItem<IEmployeePullQuote>(RenderingContext.Current.Rendering.Id);\r\n\r\n            return View(\"~/Views/EmployeePullQuote/Index.cshtml\", model);\r\n        }\r\n    }\r\n\r\nAnd the object, this works:\r\n\r\n    public class IEmployeePullQuote : ISitecoreItem\r\n    {\r\n        public virtual string Eyebrow { get; set; }\r\n        public virtual string PullQuote { get; set; }\r\n        public virtual Guid SitecoreId { get; set; }\r\n    }\r\n\r\nThis does not:\r\n\r\n    interface IEmployeePullQuote : ISitecoreItem\r\n    {\r\n        string Eyebrow { get; set; }\r\n        string PullQuote { get; set; }\r\n        Guid SitecoreId { get; set; }\r\n    }"}}