diff --git a/ChangeLog b/ChangeLog index dcf24bc5..8ee780b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19309,3 +19309,6 @@ a buggy ENCO implemention of the 'AUD' CartChunk timer. 2019-12-05 Fred Gleason * Incremented the package version to 3.2.0int3. +2019-12-09 Fred Gleason + * Fixed a bug in the rdxport service that could cause MODIFY + notifications to fail to be sent by the 'SaveLog' WebAPI call. diff --git a/ripcd/ripcd.cpp b/ripcd/ripcd.cpp index 531caee3..192ff856 100644 --- a/ripcd/ripcd.cpp +++ b/ripcd/ripcd.cpp @@ -619,6 +619,11 @@ bool MainObject::DispatchCommand(RipcdConnection *conn) BroadcastCommand("ON "+msg+"!",conn->id()); ripcd_notification_mcaster-> send(msg,rda->system()->notificationAddress(),RD_NOTIFICATION_PORT); + rda->syslog(LOG_DEBUG,"sent notification: \"%s\" to %s:%d", + (const char *)msg.toUtf8(), + (const char *)rda->system()->notificationAddress(). + toString().toUtf8(), + RD_NOTIFICATION_PORT); delete notify; } diff --git a/web/rdxport/logs.cpp b/web/rdxport/logs.cpp index eb84f26f..52f590d2 100644 --- a/web/rdxport/logs.cpp +++ b/web/rdxport/logs.cpp @@ -2,7 +2,7 @@ // // Rivendell web service portal -- Log services // -// (C) Copyright 2013-2018 Fred Gleason +// (C) Copyright 2013-2019 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -515,6 +515,8 @@ void Xport::SaveLog() log->setEndDate(end_date); log->setModifiedDatetime(QDateTime::currentDateTime()); logevt->save(rda->config()); + SendNotification(RDNotification::LogType,RDNotification::ModifyAction, + QVariant(log->name())); RDLogLock::clearLock(lock_guid); } else {