Control Script Not Working As It Did Prior To 2026.1.1

Hi,

I had an old control script that would only output records that match email or accnum in a Switch Case. 2026.1.1 ignores all records regardless of what is in the script. Why?

Sample script:

var AccNum = record.fields.Email;
var section1 = merge.context.sections["Section 1"];
section1.enabled = false;

switch(AccNum){
	case ("SAMPLE@SAMPLE.COM"):
		section1.enabled = true;
		break;
}

If I go to the record in the designer the section enables as it should. If I print exactly that record I get output, no error. But I get the above error when printing all records. This did not behave like this before. Is it something to do with Chromium or are you using both Chromium/Gecko for backwards compatibility? Or am I supposed to do something else/different for this?

Regards,
S

Without seenig the data and the Connect resources and reproducing the problem, it is hard to help you out. I suggest you open a technical support ticket through our website.

This is a known issue in 2026.1 that was fixed in 2026.1.2 (internal ref: 98056). I understand that 2026.1.2 is scheduled to be released today.

Thanks Sander, just checked the Update Manager and 2026.1.2 is available.

Regards,
S

Problem Occurred

'Printing via the Print Server' has encountered a problem.

An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the content creation process caused by All sections have been disabled by a control script (SRV000001)

[OK] [Details >>]

(Just adding a transcription of the error to make searching for the error possible)