[
https://issues.apache.org/jira/browse/SLING-11384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555622#comment-17555622
]
Niek Raaijmakers commented on SLING-11384:
------------------------------------------
PR: [https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/21]
CC [~angela] [~rombert]
> Repoinitparserservice - create path on root level doesn't parse node type
> -------------------------------------------------------------------------
>
> Key: SLING-11384
> URL: https://issues.apache.org/jira/browse/SLING-11384
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Reporter: Niek Raaijmakers
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Repoinit Parser 1.6.16
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When calling the repoinitparserservice as follows:
> {code:java}
> repoInitParserService.parse(new StringReader("create path
> /(sling:redirect)\n")).get(0).asRepoInitString() {code}
> The result is:
> {code:java}
> create path \n {code}
> What we expect is:
> {code:java}
> create path /(sling:redirect)\n {code}
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)