Type: Regression Bug
Affects Version/s: Master
Component/s: Segments Editor
Steps to Reproduce:
- Go to Members/People > Segments
- Click to a new Segment
Expected behavior: the criteria editor shows and you can define the segment criteria
Current behavior: the criteria editor does not show. The JS console shows parser errors (see attached screenshot)
It is happening in the JS combo file. And it seems to be produced by Java, not by the bundler.
The error is a misbehaviour in the way the different files are put together into the combo. It skips a break line when joining `react.production.min.js` with a file that loads `ReactPropTypesSecret`, and when joining `react-is.production.min.js` with `react-is.development.js`.
We found out that already minimized files are now skipped, but a line break must still be added when combining them in the combo servlet.