Skip to content

[Bug] 在Record后台删除注册实例时会失败, #725

@betagooo

Description

@betagooo

Search before asking

  • I have searched the existing issues before asking.

AREX Test Service

API Service (arextest/arex-api)

Current Behavior

image image com.arextest.config.repository.impl.InstancesConfigurationRepositoryImpl#remove 没做dto转dao: InstancesCollection instancesCollection = InstancesMapper.INSTANCE.daoFromDto(configuration);

Expected Behavior

com.arextest.config.repository.impl.InstancesConfigurationRepositoryImpl#remove
public boolean remove(InstancesConfiguration configuration) {
InstancesCollection instancesCollection = InstancesMapper.INSTANCE.daoFromDto(configuration);
return this.mongoTemplate.remove(instancesCollection).getDeletedCount() > 0L;
}

Steps To Reproduce

  1. 打开appSetting - Record 页面
  2. 删除其中一个注册实例,返回删除失败

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions