open-im-sdk-flutter icon indicating copy to clipboard operation
open-im-sdk-flutter copied to clipboard

[BUG] 创建群组报错, app端和pc端都必现

Open junixapp opened this issue 1 month ago • 0 comments

Describe the bug

创建群组的时候,内部调用的是GroupManager.createGroup方法,其实群组已经创建成功了,但后续的sql插入的时候报错了, 报错信息如下:

sql exec detail	{"operationID": "1715309155447", "gorm": "gorm.io/driver/[email protected]/migrator.go:293", "elapsed time": "0.147084(ms)", "rows": 0, "sql": "CREATE INDEX index_send_time ON `chat_logs_sg_4270983861`(`send_time`)", "error": "index index_send_time already exists"}

chat_logs_sg_4270983861这个表我导出来查看,并没有index_send_time这个索引,非常奇怪,但可以必现

How to reproduce

app上点击创建群组,选完成员后,点完成创建即可复现,由于报错导致点击创建后界面没有变化。涉及到项目和服务器地址,抱歉无法提供

Steps to reproduce the behavior:

app上点击创建群组,选完成员后,点完成创建即可复现,由于报错导致点击创建后界面没有变化

Expected behavior

期望可以创建成功

Screenshots (If contains)

Version information

  • Device: Android和PC端都能复现
  • Package Version: 3.3.0-e-1.0.1
  • Flutter Version: 3.19.6

junixapp avatar May 10 '24 06:05 junixapp