Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I could not reproduce this on our dev site. This worked fine every time in dev. On our live site, we deleted a country via admin Configure->Regions->Countries. We did not delete it directly in SQL. Within a few seconds we started getting a flood of errors: Quote:An error has occured at https://www.somesite.com...n/User/EditUser/64317486 View less Exception: No row with the given identifier exists[CommerceBuilder.Shipping.Country#AN] Stack Trace: at NHibernate.Impl.SessionFactoryImpl.DefaultEntityNotFoundDelegate.HandleEntityNotFound(String entityName, Object id) at NHibernate.Event.Default.DefaultLoadEventListener.Load(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) at NHibernate.Event.Default.DefaultLoadEventListener.OnLoad(LoadEvent event, LoadType loadType) at NHibernate.Impl.SessionImpl.FireLoad(LoadEvent event, LoadType loadType) at NHibernate.Impl.SessionImpl.InternalLoad(String entityName, Object id, Boolean eager, Boolean isNullable) at NHibernate.Type.EntityType.ResolveIdentifier(Object id, ISessionImplementor session) at NHibernate.Cache.StandardQueryCache.Get(QueryKey key, ICacheAssembler[] returnTypes, Boolean isNaturalKeyLookup, ISet`1 spaces, ISessionImplementor session) at NHibernate.Loader.Loader.GetResultFromQueryCache(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes, IQueryCache queryCache, QueryKey key) at NHibernate.Loader.Loader.ListUsingQueryCache(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List[T]() at AbleCommerce.Areas.Admin.Controllers.UserController.InitCountryAndProvince(UserAddressModel model, Address address) at AbleCommerce.Areas.Admin.Controllers.UserController.UserAddress(Int32 id) It looks as if Able was still trying to pull the deleted country (AN) object from cache when the physical record no longer existed. Seemed mostly to impact the ability to load the EditUser page but there were a few other areas throwing an error as well. I bounced the app pool and everything immediately started working again. It was definitely a cache issue of some kind, but no idea where.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close