Controller/Jobset: make some warnings about undef's go away

[?]
Jan 10, 2022, 3:33 PM
IHZBIA6JLFDQYDGK324G5WRG5LPBDWAGJFCIPSW4T7GJP7NH64NQC

Dependencies

  • [2] M2FEYZDC Do not trigger eval on jobset change when check interval is 0 (disabled).
  • [3] QUMWPGCU Add flake configuration to the web interface
  • [4] 246VA5DW Allow setting keepnr to 0
  • [5] OGLMBJSC Enable setting emailresponsible in the edit jobset form
  • [6] BXHG3HYL When renaming a jobset, add a redirect from the old name
  • [7] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [8] LZVO64YG Merge in the first bits of the API work
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 242
    [3.1][3.1:57]()
    my $type = int($c->stash->{params}->{"type"}) // 0;
    [3.1]
    [4.1667]
    my $type = int($c->stash->{params}->{"type"} // 0);
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 273
    [4.12054][4.0:61]()
    , keepnr => int(trim($c->stash->{params}->{keepnr}))
    [4.12054]
    [2.75]
    , keepnr => int(trim($c->stash->{params}->{keepnr} // "0"))