e2corporation opened a new issue, #2915: URL: https://github.com/apache/incubator-devlake/issues/2915
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened The Refactor PR https://github.com/apache/incubator-devlake/pull/2887 has introduced a new bug where connections are modified and save twice. Please see comments starting on `Ln 260`. ### What you expected to happen `saveConfiguration` and `modifyConfiguration` should not be triggered twice. Either the original flow needs to be reverted, or only the new `savePromise` should be executed. ### How to reproduce Save or Modify any connection and Check XHR Log. 2 `PATCH` and 2 `POST` requests are dispatched. ### Anything else _No response_ ### Version main ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
