-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-4768. Fix receiving file tracking operation calls from client at refactoring #5041
Conversation
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2561/ |
|
||
store.dispose(source.getLocation(), !source.isFile()); //TODO: need to be tested | ||
return clientServerEventService.sendFileTrackingSuspendEvent().thenPromise(success -> { | ||
eventBus.fireEvent(newFileTrackingSuspendedEvent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this event bus event then?
if (source.isProject() && source.getLocation().segmentCount() == 1) { | ||
return ps.getProjects().then((Function<List<ProjectConfigDto>, Resource>)updatedConfigs -> { | ||
clientServerEventService.sendFileTrackingResumeEvent().then(arg -> { | ||
eventBus.fireEvent(newFileTrackingResumedEvent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as above
@vzhukovskii You are right - we can avoid to use FileTrackingEvent on client side. I've deprecated this class and updated the pull request. Thank you! |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2593/ |
…refactoring Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
@vparfonov I've fixed conflicts and updated the pull request |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/2618/ |
Signed-off-by: Roman Nikitenko rnikitenko@codenvy.com
What does this PR do?
What issues does this PR fix or reference?
#4768
Changelog
Fix receiving file tracking operation calls from client at refactoring