Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

uchiwa shows multi-line 'check' output as single line #708

Closed
mbramwel opened this issue Aug 5, 2017 · 9 comments
Closed

uchiwa shows multi-line 'check' output as single line #708

mbramwel opened this issue Aug 5, 2017 · 9 comments
Labels
Milestone

Comments

@mbramwel
Copy link

mbramwel commented Aug 5, 2017

since the 0.25.3 update, checks that were displaying multi-line output are now showing everything on a single line.

I have checked the log and can see the embedded \n in the data being sent to uchiwa.

Some of our checks display output that is meant to be viewed multi-lined.

Expected Behavior

Example: If the log has One\nTwo\nThree
I would expect to see:
One
Two
Three

Current Behavior

What I do see is in uchiwa:
One Two Three

Possible Solution

Your Environment

  • Uchiwa version used:
    Name : uchiwa
    Epoch : 1
    Version : 0.25.3
    Release : 1

  • Sensu version used:
    Name : sensu
    Epoch : 1
    Version : 1.0.2
    Release : 1.el7

  • Operating System and version (e.g. Ubuntu 14.04):
    centos 7.3 (yum updated nightly)

@pietervogelaar
Copy link

I experience the same

@palourde
Copy link
Contributor

Hi @mbramwel, sorry for the delayed response, I was in vacation for the past few weeks!

Can you tell me which version you were using before this upgrade? I just tried quickly to rollback to 0.24.0 and I still see the same behavior.

Thanks!

@palourde palourde added the Bug label Sep 19, 2017
@mcbsdEU
Copy link

mcbsdEU commented Sep 20, 2017

I have the same issue on that.

@mcbsdEU
Copy link

mcbsdEU commented Sep 20, 2017

@palourde
I did downgrade to 0.25.2 and the issue is not there (had to hard refresh page in browser).

@nmccollum
Copy link

I can confirm on my version of uchiwa, 0.26.1, the issue persists.

@majormoses
Copy link

Confirm this affects 0.25.3

@VLZZZ
Copy link

VLZZZ commented Nov 10, 2017

0.26.3 still here.....

@XDestination
Copy link

Seems to have been introduced here: sensu/uchiwa-web@2b6cc2a
Actually sensu/uchiwa-web#9 would have fixed it for me, not sure what it breaks though.

@doulakis
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

9 participants