docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
233 stars 48 forks source link

No Warning in UI for "Exceeded max number of characters" in Repository overview #2366

Open ChristophSchranz opened 5 months ago

ChristophSchranz commented 5 months ago

Problem description

I experienced problems when editing the Repository overview description in Markdown in the UI. The Edits where discarded after a reload.

Debug Information

Browser name and version: Edge Version 120.0.2210.121 (Official build) (64-bit)

URL: https://hub.docker.com/r/cschranz/gpu-jupyter

Timetamp or time range: From 2024-01-16 16:00 until 2024-01-17 07:00 UTC

Hub Username: cschranz

Error messages (on screen or in browser console)

Within the browser console I've saw this response for the gpu-jupyter/object with a 400 status code.

{
    "message": "httperror 400: request had 1 validation error",
    "errinfo": {
        "fielderrors": {
            "full_description": "Exceeded max number of characters"
        }
    }
}

Screenshots of the issue (if applicable)

image

I shortened the description from 3256 words to under 3000 and this error didn't occur. I suppose there is a hard character limit but no notification in the UI was shown.

Wish for dealing with this

A UI notification if the maximal number of characters is exceeded would be great to mitigate "copy-and-paste" non-updates.

stepheUp commented 5 months ago

Hello thank you for the heads up on this, we're keeping track to fix it when possible.