Search before asking
AREX Test Service
API Service (arextest/arex-api)
Current Behavior

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
- 打开appSetting - Record 页面
- 删除其中一个注册实例,返回删除失败
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Search before asking
AREX Test Service
API Service (arextest/arex-api)
Current Behavior
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
Anything else
No response
Are you willing to submit a pull request to fix on your own?