References to Canvas Test constants raises inspection issue

Issue #2440 resolved
Jason van Beukering created an issue

The following code raises inspection issue:

Map<String, String> envValues = new Map<String, String>();
envValues.put(Canvas.Test.KEY_DISPLAY_LOCATION, 'Chatter');
envValues.put(Canvas.Test.KEY_LOCATION_URL, 'https://myinstance.salesforce.com/_ui/core/chatter/ui/ChatterPage');;)

Comments (4)

  1. Scott Wells repo owner

    Thanks for logging. It looks like those properties aren’t being reported by the Tooling API’s completions?type=apex REST resource as static. I have a provision in IC2 to “fix” things reported by that API. I’ll update accordingly for the next build.

  2. Log in to comment