rbeckman-nextgen / test-mc3

0 stars 0 forks source link

Javascript code gets corrupted/messed #4245

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

Javascript code gets corrupted and messed in Destinations/Database Writer Settings/Javascript.

I have less than 100 lines of code. Every now and then, while typing or saving, code gets corrupted and lines gets scrambled... Saving generates an error because the Javascript format gets corrupted and lines overlap and code becomes messy. It happened many times over a few days. Please fix. It is just less than 100 lines of code.

Many thanks.

Imported Issue. Original Details: Jira Issue Key: MIRTH-4389 Reporter: kghattas Created: 2019-03-20T14:08:06.000-0700

rbeckman-nextgen commented 4 years ago

Can you please provide reproduction steps

Imported Comment. Original Details: Author: jakehbradley Created: 2019-04-04T14:39:04.000-0700

rbeckman-nextgen commented 4 years ago

There is no specific pattern though that would cause this behavior. It just happens every now and then, while typing or saving. It does not always happen though. Because it is unpredictable, I always back up my code by "exporting" all channels.

Imported Comment. Original Details: Author: kghattas Created: 2019-04-04T20:18:39.000-0700

rbeckman-nextgen commented 4 years ago

I came to realize that this bug actually was already reported as an issue on Mirth Community back in November 2017: http://www.mirthproject.org/community/forums/showthread.php?t=217795 (Javascript transformer code got scrambled)

Imported Comment. Original Details: Author: kghattas Created: 2019-05-06T07:56:12.000-0700

rbeckman-nextgen commented 4 years ago

I have seen this but never been able to reproduce. In 3 years of heavy Mirth use, I have seen this issue only a few times outside of a specific issue in 3.4 which has been corrected. Of the few times, this issue occurred it appeared there where non-printable special characters involved.

Imported Comment. Original Details: Author: michaelleehobbs Created: 2019-11-07T14:27:57.000-0800