This project is read-only.

Bug

Sep 1, 2009 at 3:21 AM

ArgumentNullException

Sep 1, 2009 at 4:02 AM

change

 

public Pair LoadState(Page page)
        {
            string id = page.Request.Form[Configuration.FieldName];
            if (string.IsNullOrEmpty(id))
            {
                return new Pair(null, null);
           
            }

            var pageState = page.Cache.Get(id) as Pair;
            if (pageState == null) throw new InvalidOperationException("There is no such page state in the cache");
            return pageState;
        }

Sep 10, 2009 at 5:18 PM

Why could you get a null Page in LoadState? could you explain me a little more about your situation?