-
Feature Request
-
Resolution: Done
-
Major
-
3.0.0
-
None
In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
This is caused by calling Connection.ownResource(project), having
public boolean ownsResource(IResource resource) { if (resource == null) { return false; } IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() { @Override public IClient visit(IClientCapability capability) { return capability.getClient(); } }, null); return ObjectUtils.equals(this.client, client); }
The problem is the clients are equal for both connections. A check for token equality should be performed within DefaultClient.equals() to distinguish them
- blocks
-
JBIDE-21109 [application wizard] 2 connections from same server but for different users result in project mismatch
- Closed
-
JBIDE-21140 [application wizard] 2 connections from same server but for different users result in project mismatch
- Closed
- relates to
-
OSJC-235 2 DefaultClients to the same url with same strategy but different tokens should be equal
- Closed