refs #19534 - check EncryptValue class variables are defined
bed4594 added class variables to record logging state, but failed to check it was defined before accessing them, causing exceptions when decryption failed. Tests added for this new behaviour.
Related issues
Refactor #19534: Excessive amount of log messages around db field encryption
refs #19534 - check EncryptValue class variables are defined
bed4594 added class variables to record logging state, but failed to
check it was defined before accessing them, causing exceptions when
decryption failed. Tests added for this new behaviour.