We just upgraded our application to 6.1.6.0 and we noticed a major issue. We take advantage of being able to target different databases dynamically at log-in by defining a datasource extension in the DomainModelEntityManager constructor. However, after upgrading, it seems as if the extension is being ignored when determing which database to connect to, with the first connection string in our config file always being used. When debugging, before calling ConnectAsync on the EntityManager, I can see that the DataSourceExtension property is assigned correctly. We also tried setting the new UseDefaultAuthenticationContext to false, with no effect.
Is this a bug or are we overlooking some breaking change??
UPDATE:
After digging into it a little more, it seems like it may be related to the IEntityLoginManager. We implement this interface and in the Login method we use the EntityManager parameter that is passed in to create a new DomainModelEntityManager to verify login credentials. However, the EntityManager that is getting passed in doesn't have the Datasource Extension property set. I never had reason to get this deep in the code before, but since it worked up until now, I would have to assume that the property was getting passed correctly before 6.1.6.0.