Base solution for your next web application
Open Closed

Disabling MultiTenancy will cause issues running the application and will Fail all Unit Tests [on 6.9.0.0] #6857


User avatar
0
smastro created

Hello, we are experiencing a few problems we believe are the consequence of a bug somewhere in the code. Please find details of the issues below.

Should I report this as a bug in GitHub? Any help would be appreciated. Thanks in advance!

Please see below:

  1. Upon first generating a new solution (MVC Core + Angular, on version 6.9.0.0) we disabled MultiTenancy
public const bool MultiTenancyEnabled = false;

and we then ran the applicaiton, we get the following error:

Note: The only change we made was altering the connection string to use LocalDB for testing purposes. Other than that, it's unaltered code.

  1. We noticed almost all Unit Tests fail, and the Stack Trace show the same piece of code is executed (and fails).


5 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Duplicate of #6824

  • User Avatar
    0
    smastro created

    Sorry, but not entirely a duplicate, since nobody else seems to be complaining about Unit Tests .

    We acknowledge we can prevent the application from crashing by running it once with MultiTenancyEnabled = true and then turning it off, however, that doesn't help fixing all UnitTests which would still fail.

  • User Avatar
    0
    ismcagdas created
    Support Team
  • User Avatar
    0
    smastro created

    Thanks!

  • User Avatar
    0
    commondesk created

    Thanks!