[dev.icinga.com #2926] (not) setting send_notification or sticky_ack as GET param has no effect on cmd.cgi acks #1056
Comments
Updated by mfriedrich on 2012-08-01 17:14:01 +00:00
from a short peek, this is only true for those values. such a change requires docs updates as well then. |
Updated by mfriedrich on 2012-08-01 17:22:34 +00:00
|
Updated by mfriedrich on 2012-08-01 17:31:15 +00:00 there might still be the option that passing such args not via the commandform, but via cmd_type directly. which is pretty bad, because those variables are now enabled by default. but for what it's worth, i would keep up with the change, making this the default values being consinstent between "cli" and "gui". others might need to adapt their cmd.cgi calls then. |
Updated by mfriedrich on 2012-08-01 17:31:24 +00:00
|
Updated by mfriedrich on 2012-08-11 18:47:07 +00:00
we talked about that, with a given docs update this will be fine, and makes gui view and internal defaults the same. everyone else needing different defaults, may use a different GET param then. |
Updated by mfriedrich on 2012-08-31 11:14:43 +00:00
docs are uptodate as well. |
Updated by mfriedrich on 2014-12-08 09:27:26 +00:00
|
Updated by mfriedrich on 2015-02-14 23:04:28 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2926
Created by mfriedrich on 2012-08-01 16:38:09 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2012-08-31 11:14:43 +00:00)
Target Version: 1.8
Last Update: 2014-12-08 09:27:26 +00:00 (in Redmine)
since these checkboxes are hardcoded checked by default.
the cgivars reading does not check the value, but only the argument, then setting those vals to TRUE - but those are ignored either way.
this is probably true for many other arguments with values ignored!!
my suggestion:
allow values for those parameters, leave them enabled by default (at least with CHECKED now) - persistent comment is disabled by default.
then if someone puts send_notification=0 into the GET params, this will automatically disable the checkbox.
so basically all cmd.cgi GET params require a review - if their checkboxes are hardcoded and might need a revamped detection.
Attachments
Changesets
2012-08-01 17:27:05 +00:00 by mfriedrich 0634dd7
2015-02-14 23:03:48 +00:00 by mfriedrich f8c8892
Relations:
The text was updated successfully, but these errors were encountered: