Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Content-Package to Feature Model Converter 1.1.24
-
None
Description
Currently, binaries are stored in indexDefinitions at [1] and these binaries should be written in JSONOutput at [2], However each time we are getting it as empty at [2].
The reason is that we are storing binaries against its repositoryPath instead it should be its parent path.
i.e we are storing tika config.xml binaries at repositoryPath
`oak:index/damAssetLucene-8-custom-2/tika/config.xml`
and while writing at [2],we are trying to fetch it from `oak:index/damAssetLucene-8-custom-2/tika/`
because of this we are getting it as empty as nodeName is till `oak:index/damAssetLucene-8-custom-2/tika` only.
[1]:https://github.com/niekraaijmakers/sling-org-apache-sling-feature-cpconverter/blob/master/src/main/java/org/apache/sling/feature/cpconverter/handlers/IndexDefinitionsEntryHandler.java
[2]:https://github.com/niekraaijmakers/sling-org-apache-sling-feature-cpconverter/blob/master/src/main/java/org/apache/sling/feature/cpconverter/index/IndexDefinitionsJsonWriter.java#L137
Attachments
Issue Links
- links to