litphoria

message

You're not signed-in. If you're new, why don't you take a moment to read the site's intro?
View litphoria Introduction

Feedback ยท Image uploading can fail with the wrong error when dealing with 4 images on a profile (solved)

Here's the bug:

  1. Open your character's profile and hit edit.
  2. Upload four images to your profile.
  3. Save your profile.
  4. Refresh the page.*
  5. Hit edit again.
  6. Click the X on one of your images.
  7. Click Add new image, which has just reappeared, and pick one out for uploading and cropping. Try to upload it.

The process will fail with an error about the file size:

Your upload did not succeed! Make sure your file is smaller than 1920x1080 and 2mb.

In reality, the upload probably actually fails because your profile's still considered to have four images on it, and that image you hit the X on doesn't count as gone until you save your profile. This is probably related to another issue where image uploading circumvents the regular save behaviour.

Related, errors like this mean there should really a Cancel image addition button somewhere that makes the image interface disappear, in case someone wants to not upload at all but continue editing their profile.

* This is necessary because if you just hit 'Edit' again without refreshing first, you won't be able to hit the X on any of the images you just uploaded. Try it! This seems like it's a broken thing too. I will report it later if it doesn't get handled as part of this issue.

meta info

endorsement points: 0

created: 28 January 15 at 10:06 AM (build: 1/28/2015 2:23 AM alpha)

closed: 29 January 15 at 01:36 PM (build: 1/28/2015 8:04 PM alpha)

Wrecked Avent Site Administrator

Yes, this is just a generic error, it's not a specific one. Whenever it fails it just says to make sure your file is an image and that it meets the size requirements.

Wrecked Avent Site Administrator

Please confirm if this issue has been fixed

Velus

Confirmed, this is fixed. Thanks for also implementing the ability to cancel uploads and remove an image immediately!

Another bug has emerged in the remove behaviour though: if I have four images on my profile, removing one is not enough for the Add new image button to show up. I have to remove two images.

  Got something to say? Why don't you register and participate?
Litphoria has a unique community feedback system, where the community decides what profile options are available, and what order new features are developed.

I want my voice heard! tell me more!