Bug 952294

Summary: [CLI] not escaped slashes in cache name e.g. defaultx/xx
Product: [JBoss] JBoss Data Grid 6 Reporter: Vitalii Chepeliuk <vchepeli>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: jdg-bugs
Target Milestone: ---   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:27:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sever log of JDG server none

Description Vitalii Chepeliuk 2013-04-15 15:26:04 UTC
Created attachment 735958 [details]
Sever log of JDG server

When we connect from CLI to server. And configure our cache name to use / in names then name with slashes is correctly shown when we press <TAB> to autocomplete but If we choose this name of cache and press <ENTER> we get exception
[remoting://localhost:9999/default/]> cache defaultx/xx
java.lang.NullPointerException
[remoting://localhost:9999/default/]> cache defaultx/xx
java.lang.NullPointerException
[remoting://localhost:9999/default/]> cache defaultx/xx
java.lang.NullPointerException
[remoting://localhost:9999/default/]> cache defaultx/xx
  
Special symbols should be escaped 
Expected results:

Additional info: server.log added in attachment

Comment 1 JBoss JIRA Server 2013-04-16 09:05:21 UTC
Thomas Fromm <tf> made a comment on jira ISPN-3013

Maybe check spaces in name too :-)

Comment 2 Vitalii Chepeliuk 2013-04-16 11:58:28 UTC
(In reply to comment #1)
> Thomas Fromm <tf> made a comment on jira ISPN-3013
> 
> Maybe check spaces in name too :-)

Yep spaces could be too

Comment 3 JBoss JIRA Server 2013-04-16 12:02:59 UTC
Vitalii Chepeliuk <vchepeli> made a comment on jira ISPN-3013

Yep spaces too could be escaped too)) But we verify mysql DB with name consisting of special symbols

Comment 4 JBoss JIRA Server 2013-04-16 12:40:20 UTC
Tristan Tarrant <ttarrant> made a comment on jira ISPN-3013

The CLI supports quoting. have you tried that ?

Comment 5 JBoss JIRA Server 2013-04-16 13:54:45 UTC
Vitalii Chepeliuk <vchepeli> made a comment on jira ISPN-3013

Yes Tristan I wrote 4. This only working with "defaultx/xx" or 'defaultx/xx' but autocompletion do not escaping special symbol like /. I mean that if you press <TAB> key it will autocomplete cache name without quots and if it is not quated you press enter and NullPointerException.

Comment 8 Red Hat Bugzilla 2025-02-10 03:27:41 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.