[IDE] Camel file editor does not work in version 11.0.0-SNAPSHOT
Describe the bug Attempting to open and edit a new .camel file fails in Dirigible version 11.0.0-SNAPSHOT.
To Reproduce Steps to reproduce the behavior:
- Create a new project.
- Create a new file with the ".camel" extension.
- Open the file.
- The editor opens and show the "in progress" indicator and pops up a notification box that just says "Error" before going away.
Expected behavior The Camel editor should open and allow editing the file.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 124.0.6367.91 (Official Build) (64-bit)
Additional context This is working in 10.3.0. There are no errors displayed in the Dirigible error view, or the console log.
EDIT: This also happened in a 10.4.0 docker image I built locally. The only change was adding a missing camel jar file.
I also tried building and running my own 10.4.0 docker image (to test a fix for a missing camel component), and it failed the exact same way. So I'm very confused as to what would be wrong between my docker image and the stock one.
This seems to have been caused by incorrect line ending translation in git when checking files out on Windows. Fixing the autocrlf flag seems to have resolved the problem.
Closed due to not a Dirigible problem.