Getting Notice about undefined index instance_url

Steps to reproduce

  • Install and configure Salesforce Suite and set Oauth as the auth provider.
  • Goto Content >> Salesforce Mapped Objects
  • Hit View button on any Salesforce Entity.
  • The notice should come otherwise visit any other page of your site via administrator role.

Comments

shobhit_juyal created an issue. See original summary.

shobhit_juyal’s picture

Title: messageNotice: Undefined index: instance_url » Notice: Undefined index: instance_url
shobhit_juyal’s picture

Assigned: shobhit_juyal » Unassigned
Status: Needs work » Needs review
StatusFileSize
new602 bytes

Patch attached for review.

Thanks

shobhit_juyal’s picture

Component: salesforce_mapping.module » salesforce.module

aaronbauman’s picture

Status: Needs review » Fixed

Fixed (with "??" null coalesce, rather than ternary), thanks for the patch

Status: Fixed » Closed (fixed)

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