-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove event rule session storage #170
base: event-rule-config-enhancement
Are you sure you want to change the base?
Remove event rule session storage #170
Conversation
577a616
to
128624e
Compare
38298bb
to
bfb1542
Compare
dd2c1a5
to
9f051ac
Compare
bfb1542
to
ce523f6
Compare
9f051ac
to
a139259
Compare
473161f
to
d35dd96
Compare
a139259
to
913e324
Compare
cdddd29
to
e08b25b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I add a new event rule and refresh the form before submitting, the name disappears and I can no longer save the form.
e08b25b
to
8e62fee
Compare
04e9fb6
to
18bbc0a
Compare
fd35468
to
c77091c
Compare
319d6cd
to
258191c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot remove a recently added escalation.
I think this is related to the |
No the method works fine, the checked values are equal. |
I just checked. The checked values are different. I mean |
You're right, either it worked before or we simply overlooked the bug. This must be fixed. |
|
$db->beginTransaction(); | ||
$db->update('rule', ['object_filter' => $this->objectFilter], ['id = ?' => $id]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please only update object_filter
if it has been changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are no changes, the transaction does not even happen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed offline, this is also triggered if we only add a new escalation and the filter remains the same.
f92b668
to
258191c
Compare
258191c
to
d1b418d
Compare
c77091c
to
437291d
Compare
d1b418d
to
d24b072
Compare
437291d
to
c00a2f1
Compare
d24b072
to
6d24f32
Compare
resolves #173
Blocked by #159