[ https://issues.apache.org/jira/browse/OFBIZ-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914026#action_12914026 ]
Jacques Le Roux commented on OFBIZ-3736: ---------------------------------------- I was ready to commit this patch after review and compilation but before I test I have a doubt on how and why is exactly used the "main database" in this case. I'd think that there were as many databases as tenants. As I see it, the "main database" is only a placeholder besides the "ofbiztenant database" were the "tenants databases" are specified. And it's those "tenants databases" which are really used. Could you please explain how and why you use the "main database" ? Which data have you installed in it? Is it only for test, production? Thanks > multi-tenant function do not work correctly if switch from one app to > another by click the menu > ------------------------------------------------------------------------------------------------ > > Key: OFBIZ-3736 > URL: https://issues.apache.org/jira/browse/OFBIZ-3736 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Environment: ALL > Reporter: WeizhanGuo > Fix For: SVN trunk > > Attachments: MultiTenantExternalLoginKeyCheckError20100421.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > I found a problem when I switch from one app to another, the multi-tenant did > not work if the username and password are the same in the main database and > tenants, for example, the password of admin is ofbiz in main database and in > DEMO1 tenant, first log in to catalog as admin of tenant DEMO1, and then > switch to the content app, the data of content app is from the main database > instead of DEMO1. > I debug this problem, and there is missing to check the userlogin tenant in > checkExternalLoginKey. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.