Hi,
We have implemented IDatabaseConnectionProvider class, with the intention to tell dyamicweb which connection string to use. Everyting works great, except for one place (or we have found it not to work in one place so far), which is Indexing. If I go in /Admin > Managment Center > Repositories <Repository> name and attempt to manage the Index Repository, it is very clear that connection string from GlobalSettings is in use. It connects to the database using GlobalSettings connection (throws an error if there isn't a valid one) and Indexes using data from that database. Needless to say we are expecting it to use database connection specified in implementation of IDatabaseConnectionProvider , as it is used in other places, like front end displaing products from the correct database (if we specify a shop to use products from a database instead Index).
Placing a connecion string back in GlobalSettings fixes the problem, and it works again.
Is there a reason why implementation of IDatabaseConnectionProvider is not used in Repository/Index? Is there a way to make sure it is used there?
Thank you.