[
https://issues.apache.org/jira/browse/SLING-11983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769550#comment-17769550
]
Henry Kuijpers commented on SLING-11983:
----------------------------------------
To me it seems we should not do this: It's still the same ResourceResolver,
it's just being refreshed to be up-to-date with new information committed etc
by other resourceresolvers.
It could be that clearing this map is desirable for this use-case, but
definitely for other use-cases (values you want to keep there for the lifetime
of the ResourceResolver object, to use as some sort of cache) it is definitely
not desirable to clear this map suddenly when calling refresh.
> Clear propertyMap when resourceResolver.refresh() is called
> -----------------------------------------------------------
>
> Key: SLING-11983
> URL: https://issues.apache.org/jira/browse/SLING-11983
> Project: Sling
> Issue Type: Task
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.10.0
> Reporter: Joerg Hoh
> Priority: Major
>
> The ResourceResolver should clear the the propertyMap when refresh is called.
> Also the Javadoc needs to be updated to reflect that.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)