-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The test added by WFLY-8990 highlight a problem on windows.
A path containing a ':' makes Paths.get to fail. (Eg: profile/clone-profile-test-case-default/subsystem/mail/mail-session/java:jboss/mail/Default)
[Host Controller] 12:00:52,091 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) WFLYCTL0013: Operation ("suggest-capabilities") failed - address: ([
[Host Controller] ("host" => "master"),
[Host Controller] ("core-service" => "capability-registry")
[Host Controller] ]): java.nio.file.InvalidPathException: Illegal char <:> at index 73: /profile/clone-profile-test-case-default/subsystem/mail/mail-session/java:jboss/mail/Default
[Host Controller] at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
[Host Controller] at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
[Host Controller] at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
[Host Controller] at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
[Host Controller] at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
[Host Controller] at java.nio.file.Paths.get(Paths.java:84)
[Host Controller] at org.jboss.as.controller.CapabilityRegistry.lambda$null$4(CapabilityRegistry.java:952)
[Host Controller] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[Host Controller] at java.util.Iterator.forEachRemaining(Iterator.java:116)
[Host Controller] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
- blocks
-
JBEAP-12151 Add unit test for CLI Capability completion
- Closed
-
WFLY-8990 Add unit test for CLI Capability completion
- Closed
- is cloned by
-
JBEAP-12185 CapabilityRegistry.suggest-capabilities issue on Windows
- Closed