GitHub user Buuhuu opened a pull request:
https://github.com/apache/sling/pull/160
Bugfix/sling 5947
I implementing the methods throwing UnsupportedOperationException when the
MockSlingHttpServletRequest is used with the SlingRequestProcessor.
Unfortunately there are some older commits included in this PR, which
actually don't change anything. Hope thats not a problem.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Buuhuu/sling bugfix/SLING-5947
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/160.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 #160
----
commit aee84f800124fda2b3de374070ba92ccbf905294
Author: Dirk Rudolph <[email protected]>
Date: 2015-09-04T15:03:03Z
Merge pull request #1 from apache/trunk
Sync Fork
commit f7825f1481b1fbdad6d2863617f9679e8595c844
Author: Dirk Rudolph <[email protected]>
Date: 2015-09-28T15:23:07Z
SLING-5070: check the cacheSize before registering the
SlingServletResolverMBean and register it only when there is a cache present.
commit 722f93a6264c06ebbdea4662ccf1f049190ce6fd
Author: Dirk Rudolph <[email protected]>
Date: 2015-09-28T16:11:20Z
SLING-5068:
- used a ThreadLocal for the activeResource
- store a reference to the resources path for getting it from the shared
ResourceResolver
- in case the activeResource of the current thread is null or the
ResourceResolver is not alive anymore we obtain the activeResource from the
shared ResourceResolver
commit 75e17b09086a8ffabe1544c22b8db1b0992b20c9
Author: Dirk Rudolph <[email protected]>
Date: 2016-08-04T11:39:10Z
merged upstream/trunk
commit 84793d10712e90d5176879fe15f1cde7c0d1b045
Author: Dirk Rudolph <[email protected]>
Date: 2016-08-05T09:58:10Z
SLING-5947:
- implemented getRequestURL, getRequestURI, getPathInfo, getAuthType,
getServletPath
----
---
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.
---