Bug 1083870
| Summary: | Generated XML file by BPMN designer does not have new line at end of file | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Václav Chalupa <vchalupa> |
| Component: | jBPM Designer | Assignee: | Tihomir Surdilovic <tsurdilo> |
| Status: | CLOSED EOL | QA Contact: | Jozef Marko <jomarko> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0.0 | CC: | jomarko, kverlaen, mbaluch, mvecera, oskutka |
| Target Milestone: | DR1 | ||
| Target Release: | 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 19:36:22 UTC | Type: | Enhancement |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Václav Chalupa
2014-04-03 06:31:24 UTC
What the reason why this is necessary? It is a good code style to always put new line at end of file. Many editors do it automatically (vi, vim, gedit, nano, ...), so when someone open/edit bpmn file with these editors, a new line is added and a git history is then changed. Many teams can have code-conventions to have a new line at end of each file, and it is broken by the BPMN designer (an exception must be made for those files). By adding new line as other editors do (or add an setting option), all this possible issues are gone. You can find other reasons too. This is fixed in bpms-6.2.0.Final Last line terminated with new line character. Verified on 6.3.0.DR1 |