diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a63143ac6..97a0698bf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Use greenbone sensor as default scanner type when opening the dialog if available [#2867](https://github.com/greenbone/gsa/pull/2867) ### Fixed +- Fixed number-only names within schedules/dialog [#2914](https://github.com/greenbone/gsa/pull/2914) - Fixed changing Trend and Select for NVT-families and whole selection only [#2905](https://github.com/greenbone/gsa/pull/2905) - Fixed missing name for CVE results on result detailspage [#2892](https://github.com/greenbone/gsa/pull/2892) - Fixed setting secret key in RADIUS dialog [#2891](https://github.com/greenbone/gsa/pull/2891) diff --git a/gsa/src/web/pages/schedules/dialog.js b/gsa/src/web/pages/schedules/dialog.js index 2670888712..00fdd2b41d 100644 --- a/gsa/src/web/pages/schedules/dialog.js +++ b/gsa/src/web/pages/schedules/dialog.js @@ -328,7 +328,10 @@ class ScheduleDialog extends React.Component { interval: isPreDefined ? 1 : interval, monthdays: setMonthydays ? monthdays : undefined, weekdays: setWeekdays ? weekdays : undefined, - summary: name, + // convert name to string explicitly to not run into: + // `TypeError: e.replace is not a function` + // when name is just numbers. + summary: `${name}`, startDate, }, timezone,