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:
Fred Gleason
2019-12-09 01:05:13 -05:00
parent 152da1f154
commit 525573a245
3 changed files with 11 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
//
// 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
// 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 {