plugin_thold icon indicating copy to clipboard operation
plugin_thold copied to clipboard

Creating thold from console->data sources allows create thold without validation

Open xmacan opened this issue 1 year ago • 3 comments

Create thold with wizard works fine - hi/low values are checked (low is lower then high, ...).

Create threshold from console -> data sources -> click Template name -> doesn't check hi/low (or others) limits.

In thold_validate_save function is exception for this: /**

  • Only validate thresholds once they are created
  • This is required due to the wizard control on the
  • Thold page. */ if ($type == 'thold' && empty($save['id'])) { return true; }

it's more complicated than I thought. So far I'm just logging the error

xmacan avatar Aug 19 '24 19:08 xmacan

@xmacan I thought you fixed this already?

TheWitness avatar Jun 23 '25 03:06 TheWitness

@TheWitness no, I didn't fix it, I just reported it

xmacan avatar Jun 23 '25 06:06 xmacan

Okay.

TheWitness avatar Jun 24 '25 00:06 TheWitness