Merge pull request #2014 from ssilvert/KEYCLOAK-2294-pi-testrealm
KEYCLOAK-2294 Partial import can fail with 'Removing a detached insta…
This commit is contained in:
commit
2f88868e20
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class ClientsPartialImport extends AbstractPartialImport<ClientRepresenta
|
|||
@Override
|
||||
public void remove(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep) {
|
||||
ClientModel clientModel = realm.getClientByClientId(getName(clientRep));
|
||||
new ClientManager(new RealmManager(session)).removeClient(realm, clientModel);
|
||||
realm.removeClient(clientModel.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue