-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Open Viewer button > Log File is missing many log entries #436
Comments
Thanks @solo-1234! I'm hoping that this is a fairly easy bugfix, I'll do some more analysis on it later this week. |
Hi, just wondering if you got a chance to look at this. Thanks! |
Hey @solo-1234! Apologies, I haven't had much time to look at this one yet - but I'm actively working on |
Nice work on this one! It was great to pair on the solution. |
Thanks again for the help, glad to know I wasn't missing an obvious explanation for this one 😅 I'm hoping to push the commit for this later today (just need to finish some unit tests) |
…record with nested List<LogEntry__c>, LogViewerController now returns a LogDTO class, and Log__c and LogEntry__c records are queried separately This means 2 queries are now used instead of 1, but this will avoid the limit of 200 child records per parent record, and circumvents the apparent platform bug that was preventing all LogEntry__c records from being returned (even when there were fewer than 200 records)
* Bumped all metadata to API v57.0 (Summer '23 release) * Added logging methods for Database.LeadConvertResult class (#471) * Fixed #436 - instead of returning a Log__c record with nested List<LogEntry__c>, LogViewerController now returns a LogDTO class, and Log__c and LogEntry__c records are queried separately. This means 2 queries are now used instead of 1, but this will avoid the limit of 200 child records per parent record, and circumvents the apparent platform bug that was preventing all LogEntry__c records from being returned (even when there were fewer than 200 records) * Small scope creep: added a lightning-spinner to logViewer that's displayed on load * Fixed #469 by using @YodaDaCoda's suggestion to filter on the username (instead of name) when querying the autoproc user * Moved the private constant LogEntryEventBuilder.ORGANIZATION_API_VERSION to Logger.ORGANIZATION_API_VERSION so Logger can dynamically include the API version for REST callouts * Finally removed the last future method in the codebase (used to call the Salesforce Status API), and replaced it with a private queueable class * Combined a few test methods in Logger_Tests * Updated sfdx-cli * Added sfdx commands to README.md for installing packages * Updated some package.json scripts & sections in build.yml to use the new sfdx syntax for assigning permission sets * Regenerated apex docs (there were a couple of pages that were out of date) * Added a PMD rule exclusion for `EagerlyLoadedDescribeSObjectResult` until some npm dependencies & scripts have been upgraded --------- Co-authored-by: James Simone <16430727+jamessimone@users.noreply.github.com>
@solo-1234 it's finally fixed! I've just released the bugfix as part of the new version, |
Thank you!! |
On logs with many entries, clicking Open Viewer > Log File does not display all of them. For example, I have a log with 600+ entries which only shows 27 of them in the viewer.
The text was updated successfully, but these errors were encountered: