Hey Robert,

Robert Logan [Fri, Jul 04, 2014 at 02:19:31AM -0700] wrote:
>Fired this up today on two systems 0.20.4 server and web, both show the 
>same error on any search, coming from the application.log of the web 
>interface:
>
> [...]
>
>Caused by: java.lang.RuntimeException: No highlight ranges for field: 
>message
>        at 
>models.api.results.HighlightedField.getChunks(HighlightedField.java:41) 
>
> [...]
>
that looks like a bug in the new message highlighting implementation
that was introduced in 0.20.4 to avoid a XSS problem.

There is a GitHub issue related to this.

https://github.com/Graylog2/graylog2-web-interface/issues/827

Until this is fixed, you have to disable highlighting unfortunately.
("allow_highlighting = false" in graylog2.conf)

Thank you for the report!

Regards,
        Bernd

-- 
Developer

Tel.: +49 (0)40 609 452 077
Fax.: +49 (0)40 609 452 078

TORCH GmbH
Steckelhörn 11
20457 Hamburg
Germany

https://www.torch.sh/

Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
Geschäftsführer: Lennart Koopmann (CEO)

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to