I did a new test download of version 5.3. I restored NuGet Packages, built the application and it built fine. I ran the unit tests and a few tests keep failing. I haven't made any changes to the code, it's just a clean run from the download. I've included one of the error messages below. Any guidance will be appreciated.
Test Name: TC.SuiteTestDemo.Tests.Editions.EditionAppService_Tests.Should_Create_Edition
Test FullName: TC.SuiteTestDemo.Tests.Editions.EditionAppService_Tests.Should_Create_Edition
Test Source: C:\source\SuiteTestDemo\src\Tests\TC.SuiteTestDemo.Tests\Editions\EditionAppService_Tests.cs : line 32
Test Outcome: Failed
Test Duration: 0:00:04.93
*** Stack Trace Omitted ***
Result Message:
AutoMapper.AutoMapperMappingException : Error mapping types.
Mapping types:
ImmutableList`1 -> List`1
System.Collections.Immutable.ImmutableList`1[[Abp.Application.Features.Feature, Abp, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null]] -> System.Collections.Generic.List`1[[TC.SuiteTestDemo.Editions.Dto.FlatFeatureDto, TC.SuiteTestDemo.Application, Version=5.3.0.0, Culture=neutral, PublicKeyToken=null]]
---- AutoMapper.AutoMapperMappingException : Error mapping types.
Mapping types:
Feature -> FlatFeatureDto
Abp.Application.Features.Feature -> TC.SuiteTestDemo.Editions.Dto.FlatFeatureDto
Type Map configuration:
Feature -> FlatFeatureDto
Abp.Application.Features.Feature -> TC.SuiteTestDemo.Editions.Dto.FlatFeatureDto
Property:
DisplayName
-------- System.NullReferenceException : Object reference not set to an instance of an object.
When calling any appservice method we are receiving an "Unable to find OptionsExtensionClass" error in TrainingSuite.TSuite.EntityFrameworkCore ChangeDbContextOptionsType ChangeOptionsType<T>(DbContextOptions options)
Any ideas?
Thanks, Will
Hello,
We are in the process of converting an existing database with existing users to the new Abp database. One of the tasks is to occasionally clear the AbpUsers table and transform and reload from the legacy database. Is there a way to accomplish this without manually clearing all of the child tables and reloading OR dropping all of the foreign keys, loading the tables, and recreating the keys/constraints?
Thanks, Will
I'm trying to create an ASP.NET Core MVC project using v5.0.4 and Frameworkv4.6.1 and I keep getting a 500 error. Is there a timeline as to when this will be back up?
Thank you.
Hi, is there a way to determine if a tenant user is logged in? Also, how does AspNet Zero handles tenant users that are logged in but then close their web browser?
After reviewing the Extending Existing Entities documentation, I am wondering if another approach would be to create brand new SQL tables with our new columns rather than taking the approach of altering existing SQL tables. For example, rather than adding Address columns in AbpUsers, could we create a new SQL table called AbpUsersExtention and have that only contain the new Address columns?
Does the AspNetZero team see any issues with this approach? Will this approach create more work for us in the middle and front tier projects? I propose it because we want to make sure upgrading to new versions of Abp is less complicated.
Hello,
We've populated the AbpOrganizationUnits table with 100's of organization units. Is there a way to surround the tree-view in scrollable div? The treeview seems to ignore parent controls.
Thanks, Will
Is there a recommended approach to changing the project namespaces that are auto-generated when downloading the code from AspNet Zero? For example, we would want to change Web.Hostto Host.Web and Web.Core to Core.Web but at the same time do not want to break dependencies or make it harder to upgrade when new versions are released.
We are planning to develop multiple public websites / web applications but use only one web.mvc website for administration and only one database using the Single Deployment - Single Database multi-tenancy architecture. Due to this, is there a way to generate a new web.public project? Will having multiple web projects cause any issues? For example, do we need to create new Application or Web.Core class library for every new web project?
Any information on how to structure a solution to support multiple public websites will be great.
Hello,
After installing ASP.NET APP Zero I was able to pull in all of the tables created in the TCReportingServiceDb database. I pulled in all the tables into a new Database Diagram and noticed about one third of the tables had no referential integrity. Is there a complete diagram available?
Thanks, Will