You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doctorpangloss
changed the title
Using map key paths with forward slashes (/ character) returns empty childData
Using map names with forward slashes (/ character) returns empty childData
Jul 7, 2020
Emm..
We can replace forward slash which in input with empty string from vertx-zookeeper, but can not replace it from other input, such as zkCli.sh
I will make PR to fix it.
One possibility is to throw an IllegalArgumentException that is implementation specific, so that at least people don't get an extremely cryptic crash (it right now fails to deserialize an empty object)
Version
vertx-hazelcast:3.9.1
Context
vertx-zookeeper/src/main/java/io/vertx/spi/cluster/zookeeper/impl/ZKAsyncMultiMap.java
Line 259 in fdd14dc
Observe that if the user supplies a map key that contains forward slashes, empty data will be returned from Zookeeper due to this
split
.Do you have a reproducer?
Simply create a map named
Test/map
.The text was updated successfully, but these errors were encountered: