This repository was archived by the owner on Dec 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
[Bug] hit white-screen when id value is same but id type are number and string (fe throws exception) #341
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Bug Type (问题类型)
dashboard render (前端渲染问题)
Before submit
- 我已经确认现有的 Server-Issues 与 Hubble-Issues 中没有相同 / 重复问题
Environment (环境信息)
- Server Version: v0.12
- Hubble Version: v1.6
- Data Size: 100 vertices, 100 edges
Expected & Actual behavior (期望与实际表现)
当出现顶点 id 同时有数字和字符串, 且数字 id 的值和字符串id 转数字值相同时,hubble 可能认为二者相同, 从而出现重复 id 报错(如下图)
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
// 直接 hubble 内执行下列语句就能导入复现点边
graph.schema().propertyKey('name').asText().ifNotExist().create();graph.schema().vertexLabel('folk').properties('name').useCustomizeNumberId().create();graph.schema().edgeLabel('next').sourceLabel('folk').targetLabel('folk').properties('name').create(); g.addV('folk').property(id,1).property('name','A').as('a').addV('folk').property(id,2).property('name','B').as('b').addV('folk').property(id,3).property('name','C').as('c').addV('folk').property(id,4).property('name','D').as('d').addV('folk').property(id,5).property('name','E').as('e').addV('folk').property(id,6).property('name','F').as('f').addE('next').from('a').to('b').property('name','ab').addE('next').from('b').to('c').property('name','bc').addE('next').from('b').to('d').property('name','bd').addE('next').from('c').to('d').property('name','cd').addE('next').from('c').to('e').property('name','ce').addE('next').from('d').to('e').property('name','de').addE('next').from('e').to('f').property('name','ef').addE('next').from('f').to('d').property('name','fd');graph.schema().vertexLabel('str').properties('name').useCustomizeStringId().create();g.addV('str').property(id,"1").property('name','A');Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed


