Skip to content

Commit e4c9f5b

Browse files
committed
fix
1 parent c3c82b5 commit e4c9f5b

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

meteor/server/publications/pieceContentStatusUI/__tests__/checkPieceContentStatus.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ describe('lib/mediaObjects', () => {
243243
expect(mediaId3).toEqual(undefined)
244244
})
245245

246-
test('checkPieceContentStatus', async () => {
246+
test.only('checkPieceContentStatus', async () => {
247247
const mockStudioSettings: IStudioSettings = {
248248
supportedMediaFormats: '1920x1080i5000, 1280x720, i5000, i5000tff',
249249
mediaPreviewsUrl: '',

meteor/server/publications/pieceContentStatusUI/checkPieceContentStatus.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -379,13 +379,10 @@ async function checkPieceContentMediaObjectStatus(
379379
for (const message of newMessages) {
380380
messages.push({
381381
status: message.status,
382-
message: messageFactory.getTranslation(
383-
PackageStatusMessage.FILE_NOT_YET_READY_ON_PLAYOUT_SYSTEM,
384-
{
385-
...messageRequiredArgs,
386-
...message.extraArgs,
387-
}
388-
),
382+
message: messageFactory.getTranslation(message.message, {
383+
...messageRequiredArgs,
384+
...message.extraArgs,
385+
}),
389386
})
390387
}
391388
}

packages/corelib/src/dataModel/Blueprint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface Blueprint {
5454
/** Whether the blueprint this wraps has a `fixUpConfig` function defined */
5555
hasFixUpFunction: boolean
5656

57-
/**
57+
/**
5858
* The blueprint provided alternate package status messages, if any were provided
5959
* Any undefined/unset values will use the system default messages.
6060
* Any empty strings will suppress the message from being shown.

packages/shared-lib/src/packageStatusMessages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* - pieceName: The name of the piece the package belongs to
66
* - fileName: The name of the file
77
* - containerLabels: The labels of the container(s) that report this status
8-
*
8+
*
99
* For statuses not reported by Package Manager, the `containerLabels` will be an empty string.
1010
*/
1111
export enum PackageStatusMessage {

0 commit comments

Comments
 (0)