Opened 6 months ago

Last modified 4 months ago

#22648 new defect (bug)

No error reporting for failed upload of background image in theme customizer

Reported by: WPsites Owned by:
Priority: normal Milestone: Future Release
Component: Media Version: 3.4
Severity: normal Keywords: needs-patch
Cc: unsalkorkmaz@…

Description

I tried uploading a background image using the theme cusomizer in 3.5 RC2 but nothing happened. After a few more tries I worked out that there was a problem uploading the file but WordPress didn't inform me of this, which it should.

It was only once I'd looked at the response from async-upload.php that I realised there even was a problem.

filename: "Screen Shot 2012-11-28 at 17.50.55.png"
message: "Unable to create directory wp-content/uploads/2012/11. Is its parent directory writable by the server?"
success: false

Attachments (1)

error.png (15.9 KB) - added by ocean90 6 months ago.

Download all attachments as: .zip

Change History (8)

Related: #22243

Yes looks like it is related to that. I searched through Trac before posting this but couldn't find anything!

comment:3 follow-up: ↓ 4   ocean906 months ago

https://core.trac.wordpress.org/raw-attachment/ticket/22648/error.png

You don't get this message?

Yes, it's sad that there isn't currently an informative message.

comment:4 in reply to: ↑ 3   koopersmith6 months ago

Replying to ocean90:

You don't get this message?

Yes, it's sad that there isn't currently an informative message.

This ticket is referring to the customizer, not media (but yes, you're correct).

While this is not so great, it is also not a regression.

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from trunk to 3.4

Since we don't have any error handling in the customizer at all yet, we need to punt on this.

Separately, informative messages are now fixed in trunk, for media. Woo.

#23288 was marked as a duplicate.

  • Cc unsalkorkmaz@… added
Note: See TracTickets for help on using tickets.