The salesforce event log appears to litter watchdog with log messages with no way to access them as there is no title or links rendered.

Screenshot of described behavior

It frequently appears to be triggered after the module has processed another error and is creating a second entry.

Reproduction Steps:

  1. Using an existing mapping go to properties and set an invalid where clause.
  2. Save the mapping so the test where clause runs and fails
  3. Go to log messages and you should see the useful error message followed by a blank error message

I think there are other conditions that cause this as well, but invalid queries seem to be the most common cause I can find.

Comments

michaelmallett created an issue. See original summary.

aaronbauman’s picture

Care to provide an example?

aaronbauman’s picture

Status: Active » Postponed (maintainer needs more info)
acrosman’s picture

Component: Code » salesforce_example.module
Issue summary: View changes
StatusFileSize
new84.78 KB

I've observed the same behavior and updated the description with a screenshot. I haven't been able to determine what triggers the extra entry (the whole entry is typically blank not just the title), and not all errors will trigger the behavior either.

acrosman’s picture

Status: Postponed (maintainer needs more info) » Active
acrosman’s picture

Issue summary: View changes
acrosman’s picture

Component: salesforce_example.module » Miscellaneous

Oddly the Code component has gone missing, so switching to Misc.

Raman Starshykh’s picture

Issue tags: +epam-contrib-2019.03
driverok’s picture

Issue tags: -epam-contrib-2019.03
aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new2.1 KB

2 issues fixed in this patch:
1) double log() call in SalesforceLoggerSubscriber
2) empty message returned from SalesforceExceptionEvent::getMessage

Not sure if this will address all scenarios, but addresses the one reported in OP.

  • AaronBauman committed f6a336e on 8.x-3.x
    Issue #2972602 by AaronBauman, acrosman: Salesforce logs empty, no title
    

  • AaronBauman committed f6a336e on 8.x-4.x
    Issue #2972602 by AaronBauman, acrosman: Salesforce logs empty, no title
    
aaronbauman’s picture

Status: Needs review » Fixed

Gonna mark this fixed but please feel free to reopen if you have recreated this issue another way.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.