dirigible icon indicating copy to clipboard operation
dirigible copied to clipboard

[IDE] Camel file editor does not work in version 11.0.0-SNAPSHOT

Open g051051 opened this issue 1 year ago • 1 comments

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:

  1. Create a new project.
  2. Create a new file with the ".camel" extension.
  3. Open the file.
  4. 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 camel_error

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.

g051051 avatar Apr 30 '24 14:04 g051051

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.

g051051 avatar May 02 '24 12:05 g051051

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.

g051051 avatar May 07 '24 15:05 g051051

Closed due to not a Dirigible problem.

g051051 avatar May 07 '24 15:05 g051051