All,
I really need help on this -- I know multitenant is not very popular in use. Yet, if someone could find time to look at this, would be a great help! I have modified ContextFilter and LoginWorker now as follows in my local environment: LoginWorker: - identifies the correct tenant delegator and places it in Session Context ContextFilter: - assure the tenant delegator is in SessionContext and places it in the HttpRequest - does no longer overwrite the ServletContext delegator with the tenantDelegator (this is bad practice IMHO) Since this change the logins work perfectly fine however the data I am seeing in backoffice applications are not the tenant data but the data on the main ofbiz instance. So the backoffice application pages seem to be always using the delegator in the ServletContext and not the Visit's or the HttpRequest's or the SessionContext's. Can someone confirm this statement and please point me where in the framework I would change that behaviour? IMHO the current, official implementation on the trunk which overwrites the ServletContext parameter is bad practice and moreover is not robust enough to support concurrent use of apps by different tenants. Thanks for your support! Regards Carsten
