From f670afb956994565e705383b82990cbd89ccd0a7 Mon Sep 17 00:00:00 2001 From: Jez Barnsley Date: Thu, 19 Feb 2026 15:41:36 +0000 Subject: [PATCH 1/2] Refix for broken feedback form --- src/api/forms/service/shared.js | 4 ++-- src/helpers/feedback-form/metadata.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/forms/service/shared.js b/src/api/forms/service/shared.js index 26f00997..96e5ee34 100644 --- a/src/api/forms/service/shared.js +++ b/src/api/forms/service/shared.js @@ -66,8 +66,8 @@ export function mapForm(document) { teamEmail: document.teamEmail, contact: document.contact, submissionGuidance: document.submissionGuidance, - privacyNoticeType: document.privacyNoticeType ?? 'link', - privacyNoticeText: document.privacyNoticeText ?? '', + privacyNoticeType: document.privacyNoticeType, + privacyNoticeText: document.privacyNoticeText, privacyNoticeUrl: document.privacyNoticeUrl, notificationEmail: document.notificationEmail, ...draft, diff --git a/src/helpers/feedback-form/metadata.js b/src/helpers/feedback-form/metadata.js index 85a85c5a..66971974 100644 --- a/src/helpers/feedback-form/metadata.js +++ b/src/helpers/feedback-form/metadata.js @@ -29,7 +29,9 @@ export const feedbackMetadata = /** @type {FormMetadata} */ ({ phone: 'Telephone: 020 7946 0101\r\nMonday to Friday, 8am to 6pm' }, submissionGuidance: 'Not sure yet', + privacyNoticeType: 'link', privacyNoticeUrl: 'https://www.gov.uk/help/privacy-notice', + privacyNoticeText: '', live: { updatedAt: createdUpdatedDate, updatedBy: user, From a9c65ab9537ec20c10ac250f342a3ab023ba97d1 Mon Sep 17 00:00:00 2001 From: Jez Barnsley Date: Thu, 19 Feb 2026 20:35:52 +0000 Subject: [PATCH 2/2] Added original fix back in --- src/api/forms/service/shared.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/forms/service/shared.js b/src/api/forms/service/shared.js index 96e5ee34..26f00997 100644 --- a/src/api/forms/service/shared.js +++ b/src/api/forms/service/shared.js @@ -66,8 +66,8 @@ export function mapForm(document) { teamEmail: document.teamEmail, contact: document.contact, submissionGuidance: document.submissionGuidance, - privacyNoticeType: document.privacyNoticeType, - privacyNoticeText: document.privacyNoticeText, + privacyNoticeType: document.privacyNoticeType ?? 'link', + privacyNoticeText: document.privacyNoticeText ?? '', privacyNoticeUrl: document.privacyNoticeUrl, notificationEmail: document.notificationEmail, ...draft,