Error opening a file in synchronize view if the module is closed in package explorer
Summary
When I synchronize a multi-module maven project by only selecting the project (not the modules), if I try to open a file with incoming change to see the diff and the module containing this file is "closed" in the package explorer view, I have the following message : "An internal error occurred during: "Initializing Compare Editor for {fileName}". 0x0000000a: Le projet 'XXX' n'est pas connecté à la source."
Translation for the last part : "The project 'XXX' is not connected to the source".
I need to open the module in the package explorer to be able to open the diff.
Steps to reproduce
- Checkout a multi-module maven project
- import each modules as an existing maven project
- close all the module except the parent project
- make some change on a file on the remote repository to have an incoming change
- synchronize the parent project
- double click the file with incoming change
- got the popup with error message
Expected change
The diff view should open even if the module is not opened in the workspace
Affected versions
- Eclipse Version: 2023-03
- Subversive Version: 4.8.0
- Subversive Connector Version: 6.0.4.I20161211-1700