2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
145 stars 41 forks source link

9.22 cannot add app #1515

Closed mvanlaar closed 6 years ago

mvanlaar commented 6 years ago

I'm submitting a ... [x] bug report => search github for a similar issue before submitting

...about [x] edit experience / UI [x] admin experience UI

Current behavior I'm adding a app to a dnn 9.2 site i'm not getting the list of possible apps.

Expected behavior list of possible apps

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Anything you would like to add Log entry in log file:

2018-04-11 13:13:38,242 [WIN-7H47NBKLBFK][Thread:23][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Exception: trying to save attribute DisplayName but can't find definition in DB at ToSic.Eav.Repository.Efc.Parts.DbEntity.SaveAttributesInDbModel(IEntity newEnt, SaveOptions so, List1 attributeDefs, ToSicEavEntities dbEnt, Int32 changeId) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 277 at ToSic.Eav.Repository.Efc.Parts.DbEntity.<>c__DisplayClass10_0.<SaveEntity>b__9() in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 176 at ToSic.Eav.Repository.Efc.DbDataController.DoAndSave(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\DbDataController.cs:line 229 at ToSic.Eav.Repository.Efc.Parts.DbEntity.<>c__DisplayClass10_0.<SaveEntity>b__4() in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 179 at ToSic.Eav.Repository.Efc.DbDataController.DoInTransaction(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\DbDataController.cs:line 250 at ToSic.Eav.Repository.Efc.Parts.DbEntity.SaveEntity(IEntity newEnt, SaveOptions so) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 212 at ToSic.Eav.Repository.Efc.Parts.DbEntity.<>c__DisplayClass15_1.<SaveEntity>b__3() in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 352 at ToSic.Eav.Repository.Efc.DbDataController.DoAndSave(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\DbDataController.cs:line 229 at System.Collections.Generic.List1.ForEach(Action1 action) at ToSic.Eav.Repository.Efc.Parts.DbEntity.<>c__DisplayClass15_0.<SaveEntity>b__1() in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 353 at ToSic.Eav.Repository.Efc.Parts.DbVersioning.QueueDuringAction(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbVersioning.cs:line 48 at ToSic.Eav.Repository.Efc.DbDataController.DoInTransaction(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\DbDataController.cs:line 250 at ToSic.Eav.Repository.Efc.Parts.DbEntity.SaveEntity(List1 entities, SaveOptions saveOptions) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbEntity_save.cs:line 355 at ToSic.Eav.Apps.Parts.EntitiesManager.<>cDisplayClass12_0.b1() at ToSic.Eav.Repository.Efc.Parts.DbRelationship.DoWhileQueueingRelationships(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\Parts\DbRelationship.cs:line 24 at ToSic.Eav.Apps.Parts.EntitiesManager.<>cDisplayClass12_0.b0() at ToSic.Eav.Repository.Efc.DbDataController.DoButSkipAppCachePurge(Action action) in C:\Projects\eav-server\ToSic.Eav.Repository.Efc\DbDataController.cs:line 265 at ToSic.Eav.Apps.Parts.EntitiesManager.Save(List1 entities, SaveOptions saveOptions) at ToSic.Eav.Apps.Parts.EntitiesManager.Save(IEntity entity, SaveOptions saveOptions) at ToSic.Eav.Apps.AppManager.MetadataEnsureTypeAndSingleEntity(String scope, String setName, String label, Int32 appAssignment, Dictionary2 values) at ToSic.Eav.Apps.AppManager.EnsureAppIsConfigured(Int32 zoneId, Int32 appId, Log parentLog, String appName) at ToSic.Eav.Apps.App..ctor(Int32 zoneId, Int32 appId, Boolean allowSideEffects, Log parentLog, String logMsg) at ToSic.Eav.Apps.App..ctor(IEnvironment env, ITenant tenant, Int32 zoneId, Int32 appId, Boolean allowSideEffects, Log parentLog) at ToSic.SexyContent.Internal.AppManagement.<>cDisplayClass0_0.b__0(KeyValuePair2 eavApp) in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\Internal\AppManagement.cs:line 23 at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.d1.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at ToSic.SexyContent.ContentBlocks.ContentGroupReferenceManagerBase.GetSelectableApps() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\ContentBlocks\ContentGroupReferenceManagerBase.cs:line 86 at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.ITraceWriterExtensions.d18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.ITraceWriterExtensions.d18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.d0.MoveNext()

error list apps

iJungleboy commented 6 years ago

For reasons I cannot explain yet I believe it's a caching issue. Could you restart the web application and try to install an app again?

mvanlaar commented 6 years ago

I've restarted the .net application. Cleared the cache in dnn, restarted dnn. The problem is the same. This api call (/en-us/desktopmodules/2sxc/api/view/Module/GetSelectableApps) is outputting An error has occurred. With in the dnn logfiles the above error.

iJungleboy commented 6 years ago

We'll look at this the next two days - I believe this is an important one. Sorry for the inconvenience :(

iJungleboy commented 6 years ago

I think I have a fix - could you try this installation pack? 2sic_2SexyContent_09.22.00_Install.zip

Note also that the dialogs should work now, but the app which caused trouble was defect, so you'll want to delete it once the dialogs work again, and re-install it.

mvanlaar commented 6 years ago

IT works now like expected.

iJungleboy commented 6 years ago

thx!