2022-03-10 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'rdxport' service that caused the 'ListLog'
	WebAPI call to return null values in the 'description', 'isrc',
	'isci', 'recordingMbId' and 'releaseMbId' fields.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-03-10 11:01:11 -05:00
parent 3a41e13afd
commit a473edf7dc
2 changed files with 15 additions and 1 deletions

View File

@ -22943,3 +22943,7 @@
during the same session. during the same session.
2022-03-09 Fred Gleason <fredg@paravelsystems.com> 2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDAddLog' dialog to allow for instance reuse. * Refactored the 'RDAddLog' dialog to allow for instance reuse.
2022-03-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'rdxport' service that caused the 'ListLog'
WebAPI call to return null values in the 'description', 'isrc',
'isci', 'recordingMbId' and 'releaseMbId' fields.

View File

@ -1376,7 +1376,12 @@ int RDLogModel::LoadLines(const QString &logname,int id_offset,bool track_ptrs)
"`FADEDOWN_POINT`,"+ // 09 "`FADEDOWN_POINT`,"+ // 09
"`CUT_NAME`,"+ // 10 "`CUT_NAME`,"+ // 10
"`ORIGIN_NAME`,"+ // 11 "`ORIGIN_NAME`,"+ // 11
"`ORIGIN_DATETIME` "+ // 12 "`ORIGIN_DATETIME`,"+ // 12
"`DESCRIPTION`,"+ // 13
"`ISRC`,"+ // 14
"`ISCI`,"+ // 15
"`RECORDING_MBID`,"+ // 16
"`RELEASE_MBID` "+ // 17
"from `CUTS` where "+ "from `CUTS` where "+
QString::asprintf("`CART_NUMBER`=%u ",ll->cartNumber())+ QString::asprintf("`CART_NUMBER`=%u ",ll->cartNumber())+
"order by `CUT_NAME`"; "order by `CUT_NAME`";
@ -1395,6 +1400,11 @@ int RDLogModel::LoadLines(const QString &logname,int id_offset,bool track_ptrs)
ll->setCutNumber(RDCut::cutNumber(q->value(10).toString())); ll->setCutNumber(RDCut::cutNumber(q->value(10).toString()));
ll->setOriginUser(q->value(11).toString()); ll->setOriginUser(q->value(11).toString());
ll->setOriginDateTime(q->value(12).toDateTime()); ll->setOriginDateTime(q->value(12).toDateTime());
ll->setDescription(q->value(13).toString());
ll->setIsrc(q->value(14).toString());
ll->setIsci(q->value(15).toString());
ll->setRecordingMbId(q->value(16).toString());
ll->setReleaseMbId(q->value(17).toString());
} }
delete q; delete q;
} }