Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

Test failures reveal that we need no-arg constructors for all AuditEventType classes.

https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_Premium_Ehr_BvtEhrPostgres/3437940

ERROR Registry                 2025-03-25T18:43:28,580            JobThread-2.1 : getFactory: failed to create bean factory
java.lang.RuntimeException: java.lang.NoSuchMethodException: org.labkey.api.ehr.security.EHRSecurityEscalatorAuditProvider$EHRSecurityEscalationEvent.<init>()
	at org.labkey.api.data.BeanObjectFactory.<init>(BeanObjectFactory.java:74) ~[api-25.4-SNAPSHOT.jar:?]
	at org.labkey.api.data.ObjectFactory$Registry.getFactory(ObjectFactory.java:73) ~[api-25.4-SNAPSHOT.jar:?]
	at org.labkey.audit.model.LogManager.validateFields(LogManager.java:243) ~[audit-25.4-SNAPSHOT.jar:?]
	at org.labkey.audit.model.LogManager.insertEvent(LogManager.java:100) ~[audit-25.4-SNAPSHOT.jar:?]
	at org.labkey.audit.AuditLogImpl._addEvents(AuditLogImpl.java:205) ~[audit-25.4-SNAPSHOT.jar:?]
	at org.labkey.audit.AuditLogImpl.addEvent(AuditLogImpl.java:134) ~[audit-25.4-SNAPSHOT.jar:?]

Related Pull Requests

Changes

  • Restore no-arg constructor, add comment

@labkey-jeckels labkey-jeckels merged commit 4935ad3 into develop Mar 26, 2025
4 of 6 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_pipelineLinks branch March 26, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants