Page 1 of 1

Diff tool error when reusing content from a Git submodule

Posted: Mon Aug 17, 2020 6:57 pm
by jhanna
I am running into an error when reusing content from a Git submodule. When I use the Oxygen Diff tool to view changes, I get an error in the Author view:
diff-tool.png
diff-tool.png (60.69 KiB) Viewed 1806 times
The same error also appears in the editor in the Author view:
author-view.png
author-view.png (116.75 KiB) Viewed 1806 times
I do not see any errors when using the Text view and it appears that my changes are being committed successfully. Since my content appears to be fine, I'm not too concerned about these errors. However, I wanted to share this issue just in case there is something more to it.

Is this a bug? Am I not doing something correctly? Is this expected behavior?

Thanks,
Jonathan

Re: Diff tool error when reusing content from a Git submodule

Posted: Wed Aug 19, 2020 2:08 pm
by alex_jitianu
Hello,

Thank you for reporting this issue. I've managed to reproduce it myself and I've recorded an issue to see what's going on. It is something related with submodules, because references are resolved correctly in the same repository.

When we release a fix, I will post a notice here.

Best regards,
Alex

Re: Diff tool error when reusing content from a Git submodule

Posted: Sat Aug 22, 2020 3:58 pm
by chrispitude
jhanna, thanks for finding and reporting this. We will be looking into using Git submodules soon.

How are submodules working for you? What do you use them for?

Re: Diff tool error when reusing content from a Git submodule

Posted: Tue Sep 08, 2020 6:34 pm
by jhanna
Sorry for the late reply. I did not have notifications turned on.

Alex, thank you for looking into this. I look forward to seeing a fix!
chrispitude wrote: Sat Aug 22, 2020 3:58 pm jhanna, thanks for finding and reporting this. We will be looking into using Git submodules soon.

How are submodules working for you? What do you use them for?
I am not currently using submodules, but I'm doing some investigating for future use. What I plan to use them for is to store warehouse topics for reuse across multiple repositories. So far the tests are working well!

Regards,
Jonathan

Re: Diff tool error when reusing content from a Git submodule

Posted: Fri Jan 08, 2021 12:02 pm
by sorin_carbunaru
Hello,

Just wanted to you know that in v2.4.0 of the Git Client the references from the Diff dialog should be properly resolved.

All the best wishes,
Sorin Carbunaru
Oxygen XML Editor