Sitecore Glass mapper GetItem<TypeName>(guid) always return null
问题 I saw a related question: Sitecore Glass Mapper always null But unfortunately it does not give a solution for my case. Here goes a code snippet: var db = Factory.GetDatabase("master"); var context = new SitecoreContext(); // the ID of Needed item var g = new Guid("{F21C04FE-8826-41AB-9F3C-F7BDF5B35C76}"); // just to test if it's possible to fetch item using db.GetItem var i = db.GetItem(new ID(g), Language.Current, Sitecore.Data.Version.Latest); // Grab item var t = context.GetItem<Article>(g