Skip to content

BUG whole table ui break when dynamo have field with big enough numeric value #512

@OrHayat

Description

@OrHayat

i have used local dynamodb and dynamodb admin
Initializing DynamoDB Local with the following configuration:
Port: 8000
InMemory: true
Version: 3.1.0
DbPath: null
SharedDb: false
shouldDelayTransientStatuses: false
CorsParams: null

Initializing DynamoDB Local with the following configuration:
Port: 8000
InMemory: true
Version: 3.1.0
DbPath: null
SharedDb: false
shouldDelayTransientStatuses: false
CorsParams: null

when i tried to mess around and put random int64 attribute in golang using go aws sdk on some table...
Item: lock{
LockID: item,
Owner: "cli",
TTL: rand.Int64(),
Info: fmt.Sprintf("lock for item %s", item),
},
})
}

the whole admin ui break and gives errors and nothing seems to work on that table

I found out that the ui break showing table fields when the number is large enough/small enough
when i made sure number wont be big enough in my code the bug disappeared

			Item: lock{
				LockID: item,
				Owner:  "cli",
				TTL:    rand.Int64()/1000,  
				Info:   fmt.Sprintf("lock for item %s", item),
			},
		})
                 }
Image

request

GET /tables/Locks/items HTTP/1.1
Accept: /
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en,he-IL;q=0.9,he;q=0.8,en-US;q=0.7
Connection: keep-alive
Cookie: theme=dark
Host: localhost:8002
Referer: http://localhost:8002/tables/Locks
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
sec-ch-ua: "Chromium";v="140", "Not=A?Brand";v="24", "Google Chrome";v="140"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"

response

HTTP/1.1 500 Internal Server Error
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 2
ETag: W/"2-vyGp6PvFo4RvsFtPoIWeCReyIC8"
Date: Sun, 21 Sep 2025 17:08:26 GMT
Connection: keep-alive
Keep-Alive: timeout=5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions