mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-17 17:00:27 +02:00
2019-12-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rdxport service that could cause MODIFY notifications to fail to be sent by the 'SaveLog' WebAPI call.
This commit is contained in:
parent
152da1f154
commit
525573a245
@ -19309,3 +19309,6 @@
|
|||||||
a buggy ENCO implemention of the 'AUD' CartChunk timer.
|
a buggy ENCO implemention of the 'AUD' CartChunk timer.
|
||||||
2019-12-05 Fred Gleason <fredg@paravelsystems.com>
|
2019-12-05 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 3.2.0int3.
|
* Incremented the package version to 3.2.0int3.
|
||||||
|
2019-12-09 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in the rdxport service that could cause MODIFY
|
||||||
|
notifications to fail to be sent by the 'SaveLog' WebAPI call.
|
||||||
|
@ -619,6 +619,11 @@ bool MainObject::DispatchCommand(RipcdConnection *conn)
|
|||||||
BroadcastCommand("ON "+msg+"!",conn->id());
|
BroadcastCommand("ON "+msg+"!",conn->id());
|
||||||
ripcd_notification_mcaster->
|
ripcd_notification_mcaster->
|
||||||
send(msg,rda->system()->notificationAddress(),RD_NOTIFICATION_PORT);
|
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;
|
delete notify;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Rivendell web service portal -- Log services
|
// Rivendell web service portal -- Log services
|
||||||
//
|
//
|
||||||
// (C) Copyright 2013-2018 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2013-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// 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->setEndDate(end_date);
|
||||||
log->setModifiedDatetime(QDateTime::currentDateTime());
|
log->setModifiedDatetime(QDateTime::currentDateTime());
|
||||||
logevt->save(rda->config());
|
logevt->save(rda->config());
|
||||||
|
SendNotification(RDNotification::LogType,RDNotification::ModifyAction,
|
||||||
|
QVariant(log->name()));
|
||||||
RDLogLock::clearLock(lock_guid);
|
RDLogLock::clearLock(lock_guid);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user