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

No eror shown in rule ediior, if wrong timezone passed to parse_date() #84

Closed
hc4 opened this Issue Aug 15, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@hc4

hc4 commented Aug 15, 2016

Problem description

I've created rule:
image

No errors displayed, but on pressing save error shown at the bottom of page:
image

And REST response contains correct error:
{"type":"ApiError","message":"The datetime zone id '123' is not recognised"}

Environment

  • Graylog Version: 2.1.0-beta3
  • Pipeline Processor plugin version: 1.1.0-beta.3

@kroepke kroepke added the bug label Aug 18, 2016

@kroepke kroepke added this to the 1.1.0 milestone Aug 18, 2016

@kroepke

This comment has been minimized.

Member

kroepke commented Aug 18, 2016

Yes, there's a missing parse error handler for constant arguments at

@kroepke kroepke self-assigned this Aug 19, 2016

@kroepke

This comment has been minimized.

Member

kroepke commented Aug 19, 2016

tz

@kroepke

This comment has been minimized.

Member

kroepke commented Aug 19, 2016

I've added a proper error message for this class of errors and improved the timezone handling a bit (by allowing arbitrary casing for the timezone name, had to be uppercase before).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment