Skip to content
Snippets Groups Projects
Unverified Commit 45a5d1f8 authored by Kevin Aleman's avatar Kevin Aleman Committed by GitHub
Browse files

Regression: Waiting_queue setting not being applied due to missing module key (#23531)

parent 54a0fba4
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ export class SettingsRegistry {
try {
validateSetting(settingFromCode._id, settingFromCode.type, settingFromCode.value);
} catch (e) {
IS_DEVELOPMENT && SystemLogger.error(`Invalid setting code ${ _id }: ${ e.message }`);
IS_DEVELOPMENT && SystemLogger.error(`Invalid setting code ${ _id }: ${ (e as Error).message }`);
}
const isOverwritten = settingFromCode !== settingOverwritten;
......@@ -144,7 +144,7 @@ export class SettingsRegistry {
try {
validateSetting(settingFromCode._id, settingFromCode.type, settingStored?.value);
} catch (e) {
IS_DEVELOPMENT && SystemLogger.error(`Invalid setting stored ${ _id }: ${ e.message }`);
IS_DEVELOPMENT && SystemLogger.error(`Invalid setting stored ${ _id }: ${ (e as Error).message }`);
}
return;
}
......
import { callbacks } from '../../../../../app/callbacks';
import { settings } from '../../../../../app/settings';
import { settings } from '../../../../../app/settings/server';
import { debouncedDispatchWaitingQueueStatus } from '../lib/Helper';
import { cbLogger } from '../lib/logger';
......
import { callbacks } from '../../../../../app/callbacks';
import { settings } from '../../../../../app/settings';
import { settings } from '../../../../../app/settings/server';
import { LivechatInquiry } from '../../../../../app/models/server';
import { dispatchInquiryPosition } from '../lib/Helper';
import { allowAgentSkipQueue } from '../../../../../app/livechat/server/lib/Helper';
......
import { callbacks } from '../../../../../app/callbacks';
import { settings } from '../../../../../app/settings';
import { settings } from '../../../../../app/settings/server';
import { debouncedDispatchWaitingQueueStatus } from '../lib/Helper';
import { RoutingManager } from '../../../../../app/livechat/server/lib/RoutingManager';
import { LivechatEnterprise } from '../lib/LivechatEnterprise';
......
......@@ -79,6 +79,9 @@ export const createSettings = (): void => {
i18nLabel: 'Waiting_queue',
enterprise: true,
invalidValue: false,
modules: [
'livechat-enterprise',
],
enableQuery: omnichannelEnabledQuery,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment