Maybe someone jumped already in this problem before while installing apps on this incredible usable App Module? I failed to install application called "Tutorial Razor Basics" on 2sxc App Module. I got some errors defined below. Other applications installed without problems.
Problem definition:
Error: The import failed. See the messages below for more information.
Warning: File 'Preview for Manage Content not Data.jpg' not copied because it already exists
Error: Could not import the app / package: An error occurred while updating the entries. See the inner exception for details.
Log from DNN Logs: System.NullReferenceException: Object reference not set to an instance of an object. at
ToSic.SexyContent.ImportExport.XmlImport.<>c.b__29_4(<>f__AnonymousType243 t)
in C:\projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\SexyContent\ImportExport\XmlImport.cs:line 456
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 source, Func2 predicate) at ToSic.SexyContent.ImportExport.XmlImport.ImportXmlTemplates(XElement root)
in C:\projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\SexyContent\ImportExport\XmlImport.cs:line 456
at ToSic.SexyContent.ImportExport.XmlImport.ImportXml(Int32 zoneId, Int32 appId, XDocument doc, Boolean leaveExistingValuesUntouched)
in C:\projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\SexyContent\ImportExport\XmlImport.cs:line 293
at ToSic.SexyContent.ImportExport.XmlImport.ImportApp(Int32 zoneId, XDocument doc, Nullable
1& appId)
in C:\projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\SexyContent\ImportExport\XmlImport.cs:line 219
at ToSic.SexyContent.ImportExport.ZipImport.ImportZip(Stream zipStream, HttpServerUtility server, PortalSettings portalSettings, List`1 messages)
in C:\projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\SexyContent\ImportExport\ZipImport.cs:line 129
DNN Configuration:
I tried to install module on the following DNN configuration: Win 7 DNN 8.0.3 2sxc module version 08.05.00 (RC version cloned from git-hub. Maybe this is why it failed to install?) SQL 2014 Express
Enhancements:
Some enhancements could be made to "Applications Management UI". It is not a criticism but like a nice things to have: 1) Install a bunch of zips as it takes some time when you want to install several apps in one go. It could be made something like DNN has before when you could install a bunch of zips from particular Install/Modules folder. 2) List of apps could have additional fields "Version". And maybe a "Path" field identifying where the App is stored on the disk. To save some place, "Path" could be added on the app details view which opens when clicking on app item in app list on the grid). 3) Logging of install process. It would be easier to identify what app was failing and where. Especially when installing your own buggy apps ;) We can use of cause DNN logging but it takes some time to filter out exact problem. Good SoC(Separation of Concerns) practice?
Thank you a lot for your time guys from "2sic internet solutions" creating this wonderful product. Danke schön!
Best Regards, Jonas