jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-3232) Oak Console cannot deal with spaces in node names
Date Wed, 02 Nov 2016 06:55:58 GMT

    [ https://issues.apache.org/jira/browse/OAK-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15627979#comment-15627979
] 

Chetan Mehrotra edited comment on OAK-3232 at 11/2/16 6:55 AM:
---------------------------------------------------------------

Done with r1767609. Now the spaces are escaped similar to way they are handled in shell
{noformat}
> cd content 
/content> cd test 
/content/test> cd name\ with\ space 
/content/test/name with space> 
{noformat}

One can also use quotes now to handle such node names with {{cd}} command


was (Author: chetanm):
Done with r1767609. Now the spaces are escaped similar to way they are handled in shell
{noformat}
> cd content 
/content> cd test 
/content/test> cd name\ with\ space 
/content/test/name with space> 
{noformat}

> Oak Console cannot deal with spaces in node names
> -------------------------------------------------
>
>                 Key: OAK-3232
>                 URL: https://issues.apache.org/jira/browse/OAK-3232
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: run
>            Reporter: Alex Parvulescu
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.13
>
>
> Trying to _cd_ into a node that has spaces in the name will not work.
> {code}
> /test> ls
> one node
> second node test
> /test> cd one node 
> No such node
> {code}
> A good workaround is to manually drill down into such nodes by using the _session.workingPath_
variable:
> {code}
> /test> session.workingPath = session.workingPath + '/one node'
> ===> /test/one node
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message