Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
betagooo opened this issue Nov 19, 2024 · 0 comments
Open
1 of 2 tasks

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

betagooo opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@betagooo
Copy link

betagooo commented Nov 19, 2024

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!
@betagooo betagooo added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant