GitHub user mmanski opened a pull request:
https://github.com/apache/sling/pull/135
SLING-3543 solution proposal
This is a proposal of handling 3543. Console plugin makes real request for
the selected path with a special selector, which is showing available scripting
variables for the current path in json format. When we want to access scripting
variables when for a path that is not supported by any of scripting engines,
400 is being thrown.

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mmanski/sling SLING-3543
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/135.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #135
----
commit 71ab1df006d9ef4eead90798ef4874bcbfbf41af
Author: MikoÅaj MaÅski <[email protected]>
Date: 2015-11-23T09:51:31Z
Merge pull request #1 from apache/trunk
trunk update
commit 5ac88a052221c8f9db825f6d81c41652bf04c250
Author: Mikolaj Manski <[email protected]>
Date: 2016-04-15T07:25:36Z
Merge remote-tracking branch 'upstream/trunk' into trunk
commit 0dfaaf220612132f9da9cebf769dc1922736e382
Author: Mikolaj Manski <[email protected]>
Date: 2016-04-22T08:47:04Z
SLING-3543 introduced mechanism obtaining scripting variables with use of
bvpvars selector
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---