Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eMail output contains "\ Kein Zeilenumbruch am Dateiende." after most entries #485

Closed
ecm75 opened this issue Dec 12, 2018 · 3 comments
Closed

Comments

@ecm75
Copy link
Contributor

ecm75 commented Dec 12, 2018

The automated Mail for new or changed entries contains an extra Line for most entries:

### Id ###

+1
\ Kein Zeilenumbruch am Dateiende.


### Inventory number ###



### Name ###

+WS-C2960G-24TC-L
\ Kein Zeilenumbruch am Dateiende.


### Serial ###

+FOC1501W3QN
\ Kein Zeilenumbruch am Dateiende.


### Part number ###



### Purchase date ###



### Warranty end ###



### Seller ###

+Cisco
\ Kein Zeilenumbruch am Dateiende.

Is this a setting issue or a bug? We are using the latest version from git develop branch (a8dc7f5).

@dra
Copy link
Collaborator

dra commented Dec 12, 2018

The IDB is using the diffy gem (https://github.com/samg/diffy) in order to create the diffs. There is an open issue regarding this behaviour:
samg/diffy#88

We are not seeing this on our instances, I suppose it could be caused by default locale on the server (geman on your side?). Will try to reproduce and work around it.

@dra
Copy link
Collaborator

dra commented Dec 13, 2018

Found it, we had the similar problem but in english and already had to work around it. Adapted it to detect german wording as well, might you check with the latest commit?

@ecm75
Copy link
Contributor Author

ecm75 commented Dec 13, 2018

Yes the last commit fixed the problem for me.

This issue can be closed from my side.

THX!

@dra dra closed this as completed Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants