graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Description is not being saved when creating pipeline rule

Open mpfz0r opened this issue 3 years ago • 2 comments

When creating a pipeline rule, the provided description is ignored.

This only seems to happen when the last action is editing the rule, not the description field.

I think the problem lies here: https://github.com/Graylog2/graylog2-server/blob/master/graylog2-web-interface/src/components/rules/RuleContext.jsx#L88 This line clears a previously provided description.

This probably also happens when updating pipeline rules. Haven't verified this.

mpfz0r avatar Dec 14 '21 11:12 mpfz0r

@mpfz0r I saw this bug today as well. Can you may change the title to something like "Description is not being saved when creating pipeline rule"

Currently the title sounds like the problem is only that the description field is not required.

This problem does not occur when updating a pipeline rule.

linuspahl avatar Apr 27 '22 08:04 linuspahl

@linuspahl sure, that sounds better :+1: thank you

mpfz0r avatar Apr 27 '22 08:04 mpfz0r