העלאת לוגו לאחר מחיקת הלוגו הנוכחי בלי לשלוח ביניהם מציגה שגיאה

I just wanted to change the logo I had uploaded. So I went to /admin/config/logo, removed the current logo, and tried to upload the new one. It failed: POST https://example.discourse.group/uploads/complete-external-upload 400 (Bad Request)

It works when I scroll down and click submit to save after deleting the old logo before uploading the new one. It also works to drop the new logo without deleting the old one, but I didn’t try that at first because as long as there is a logo in place, the field doesn’t say I can do that.

I also tried uploading a new logo, deleting that, and uploading another one, which also fails:


Okay, actually the upload works. When you delete the old logo, upload a new one, ignore the error, and submit the changes, you will see the new logo. So, what does the error tell me, and why are the buttons disabled afterwards when it magically still works?

3 לייקים

תודה שפרסמת את זה, @Moin.

הרגע בדקתי את זה, ונראה שהשגיאה מופיעה כשגוררים תמונה, אבל לא כשלוחצים כדי להעלות - אם עושים את זה אז אין בעיה.

זו בהחלט תקלה, אז נבדוק ונראה מה אנחנו יכולים לעשות בקשר לזה.

תודה!

3 לייקים

לאחר בדיקות נוספות, נראה שהבעיה הזו התרחשה לסירוגין בלבד, ולא באופן עקבי עם אותן תמונות או כל דבר אחר כזה. עם זאת, זה נפתר כחלק מעדכון אחר, ואני כבר לא יכול לשחזר את זה באף אתר.

לייק 1

כרגע, אני עדיין יכול לשחזר את זה בפורום שלי, שעודכן לפני כ-15 שעות. אנסה שוב לאחר הפריסה הבאה

2 לייקים

כדי לעזור באיתור באגים נוסף:

  1. האם זה קורה בכל פעם שאתה מנסה להעלות תמונה באמצעות גרירה ושחרור? האם זה קורה עם כל תמונה שאתה מנסה?
  2. האם מופיעות שגיאות כלשהן בקונסולה שלך? אם כן, האם תוכל לצלם מסך שלהן ולפרסם אותן כאן?
  3. אם זה קורה באופן עקבי עם תמונה מסוימת אחת, האם תוכל להעלות את התמונה הזו לכאן?

תודה!

לייק 1

So far, it happens every time I try to upload an image with drag-and-drop after deleting the current image without saving in between.
I recorded another video using the pencil sketch default image and the site setting interface instead of the config page. But the issue remains the same on both. Though the save button is much further down on the config page, which is why not saving after deleting is more likely there.

Yes, I don’t think the screenshot reveals much more than what I already mentioned in my first post.

It happens with every image I tried.


This is the one used in the recording above.

2 לייקים

בסדר – תודה – אעשה עוד בדיקות כאן ונראה מה נוכל להבין.

לייק 1