> > We're running a new install of the latest OpenVAS 6. Upon editing an > existing alert (changing the attached report type) and clicking Save, we > get this error: > > Operation: Save Alert > Status code: 400 > Status message: Bogus element: next > > > > This occurs with any existing alert and any new alerts we then go in and > edit. We're able to create new alerts and delete them as well. Any > ideas on what's wrong here?
That sounds like the error that was solved with r16187, which was included in GSA 5.0 beta1. Here's the patch if that helps: Modified: trunk/gsa/ChangeLog =================================================================== --- trunk/gsa/ChangeLog 2013-04-30 09:30:29 UTC (rev 16186) +++ trunk/gsa/ChangeLog 2013-04-30 09:30:30 UTC (rev 16187) @@ -1,3 +1,7 @@ +2013-04-30 Hani Benhabiles <[email protected]> + + * src/gsad_omp.c (save_alert_omp): Don't send next element. + 2013-04-30 Timo Pollmeier <[email protected]> * src/html/omp.xsl (tagged_resource_link, tag, tag [details]): Rename Modified: trunk/gsa/src/gsad_omp.c =================================================================== --- trunk/gsa/src/gsad_omp.c 2013-04-30 09:30:29 UTC (rev 16186) +++ trunk/gsa/src/gsad_omp.c 2013-04-30 09:30:30 UTC (rev 16187) @@ -5292,12 +5292,10 @@ if (openvas_server_sendf (&session, "<modify_alert alert_id=\"%s\">" "<name>%s</name>" - "<next>%s</next>" "<filter id=\"%s\"/>" "%s%s%s", alert_id, name, - next, filter_id, comment ? "<comment>" : "", comment ? comment : "", -- Greenbone Networks GmbH Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
