-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LogEntryEvent__e.RequestId__c field is not being set #424
Comments
Hey @chazwatkins thanks for reporting this! The field However, I'm curious if you were only getting this error some of the time - the field is currently being set to be the value of |
Hey @jongpie - Thanks for getting back to me so quickly. The error only appears when we fire a platform event and the subscriber transaction, processed using the autoproc user, uses Logger. |
@chazwatkins thanks for the info! That's interesting, I guess it makes sense that the autoproc user doesn't have a request ID, but that wasn't something I had tested before. I should have the next release |
* Consolidated LogMassDeleteExtension_Tests_Security class with primary test class LogMassDeleteExtension_Tests * Cleaned up some of the code in LogEntryEventStreamController and LogEntryEventStreamController_Tests * Removed an old & used private method in LogEntryEventBuilder * Updated the LoggerPlugin class to handle Apex classes that don't implement the appropriate interface - this also helped to simplify class LoggerSObjectHandler * Cleaned up some of the code in LogBatchPurgeController and LogBatchPurgeController_Tests * Fixed a small bug in LoggerEngineDataSelector that prevented Network data from being queried properly * Fixed #424 by updating LogEntryEvent__e.RequestId__c to not be required * Added some additional unit tests in LogEntryEventHandler_Tests, LoggerEngineDataSelector_Tests and LoggerEngineDataSelector_Tests_Network * Reverting to using sfdx deploy (instead of push) build.yml to try to resolve some issues with extra-tests classes not being deployed to scratch orgs * Renamed npm scripts 'lint' to 'scan' * Updated package.json and package-lock.json to resolve a dependabot security alert
Hey @chazwatkins - this should now be fixed in the newest release v4.9.8. Thanks again for reporting this, and let me know if you run into any other issues! |
Thanks for the quick turn around on the fix @jongpie. |
Package Edition of Nebula Logger
Unlocked Package
Package Version of Nebula Logger
v4.9.7
New Bug Summary
We upgraded from 4.7.0 to 4.9.7 yesterday and are getting errors from an automation user stating the LogEntryEvent__e.RequestId__c must have a value. The user has all Logger perm sets, which have access to RequestId__c.
The v4.8.4 release notes, where RequestId__c was introduced, don't note any changes required post-installation to utilize RequestId__c.
Any idea what could be causing this error?
Error message
For a temporary fix, we've set RequestId__c as not a required field.
The text was updated successfully, but these errors were encountered: