You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/09/19 13:54:51 UTC
[jira] [Updated] (SLING-3076) Missing session.refresh() on
long-lived Session in ScriptableTestsProvider
[ https://issues.apache.org/jira/browse/SLING-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-3076:
---------------------------------------
Summary: Missing session.refresh() on long-lived Session in ScriptableTestsProvider (was: ScriptableTestsProvider query on sling:Test mixin fails on Oak)
> Missing session.refresh() on long-lived Session in ScriptableTestsProvider
> --------------------------------------------------------------------------
>
> Key: SLING-3076
> URL: https://issues.apache.org/jira/browse/SLING-3076
> Project: Sling
> Issue Type: Bug
> Components: Oak
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> The /jcr:root/apps//element(*, sling:Test) query in the ScriptableTestsProvider class returns nothing even though we have
> curl -u admin:admin http://localhost:8080/apps/testing/sling/scripted-tests/resourceresolver-api.tidy.json
> {
> "jcr:primaryType": "sling:Folder",
> "jcr:mixinTypes": ["sling:Test"],
> "jcr:createdBy": "admin",
> "jcr:created": "Tue Sep 17 2013 17:20:55 GMT+0200",
> "sling:resourceType": "testing/sling/scripted-tests/resourceresolver-api"
> }
> I have added a similar test to the SLING-2788 SlingRepositoryITBase and it passes, but that's but using a builtin mixin (mix:title), I'll need to verify that with a custom mixin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira