You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/07 16:43:00 UTC
[jira] [Resolved] (SLING-7289) Sling Validator Service does not
free Validators correctly
[ https://issues.apache.org/jira/browse/SLING-7289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-7289.
------------------------------------
Resolution: Fixed
Fixed with https://github.com/apache/sling-org-apache-sling-validation-core/commit/9a603e4605faa771417759cd1fc67210d92751f5 and https://github.com/apache/sling-org-apache-sling-validation-core/commit/10c2515830fe0b05e9ce01a517725665ca674703
Thanks a lot [~santiagozky] for the PR and the bug report.
> Sling Validator Service does not free Validators correctly
> ----------------------------------------------------------
>
> Key: SLING-7289
> URL: https://issues.apache.org/jira/browse/SLING-7289
> Project: Sling
> Issue Type: Bug
> Components: Validation
> Affects Versions: Validation 1.0.0
> Reporter: Santiago GarcĂa Pimentel
> Assignee: Konrad Windszus
> Fix For: Validation Core 1.0.2
>
>
> When a bundle that contains Sling Validators is removed. the Sling Validation Service does not correctly free them.
> The problem is in the ValidatorMap, which fails to remove the service from the map in
> https://github.com/apache/sling-org-apache-sling-validation-core/blob/master/src/main/java/org/apache/sling/validation/impl/ValidatorMap.java#L225
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)