Repository navigation
v4.11.7 - Bugfix For Save Failures When Using Tagging + SYNCHRONOUS_DML #563
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This release fixes issue #526 reported by @cbcruz74 (in discussion #511) - previously, using a combination of Nebula Logger's tagging system + the save method
SYNCHRONOUS_DML(shown in the snippet below) would fail, preventing some logging data from being saved.This was caused by code that relied on the standard field
LogEntryEvent__e.EventUuid- part of the tagging system internally used this field to track & create relatedLogEntryTag__crecords for newLogEntry__crecords. When using the save methodSYNCHRONOUS_DML, theEventUuidis null, which broke theLogEntryTag__crecord creation.A huge thank you to both @JMercie for working on this release (PR #539), and to @cbcruz74 for reporting the issue!
Core Unlocked Package Changes
New Field
LogEntry__c.UniqueId__cLogEntry__c.UniqueId__c- this field is now used to upsertLogEntry__crecordsLogEntryEvent__e.TransactionId__candLogEntryEvent__e.TransactionEntryNumber__c. The combination of these fields has been implicitly a unique composite key ever since the fieldTransactionEntryNumber__cwas introduced inv4.4.0, but it wasn't being stored anywhere - now it is, in the newUniqueId__cfieldUniqueId__cfield to the FlexiPageLogEntryRecordPageUniqueId__cfield to the permission setsLoggerAdmin,LoggerLogViewer, andLoggerEndUserBugfix For Save Failures When Using Tagging +
SYNCHRONOUS_DMLLogEntryEventHandlerclass to leverage the new fieldLogEntry__c.UniqueId__cfor upserting & internally trackingLogEntry__crecords and their associatedLogEntryTag__crecords (instead of leveraging the standard fieldLogEntryEvent__e.EventUuid)Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.11.6...v4.11.7
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001HZfaQAGsfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001HZfaQAGThis discussion was created from the release Bugfix For Save Failures When Using Tagging + SYNCHRONOUS_DML.
All reactions