I might be dumber than the average user, since no one else has reported this, but it just took me 15 minutes to figure out that you should only click the Attach button when you are uploading a new image, not when you are choosing one to attach from the list. I was thrown off because the field set is labeled "Attached images", so I thought that "attach" always meant attach regardless of the source of the image. Maybe the button should be labeled "Upload".

Comments

sun’s picture

Title: Attach button » Rename "Attach" button to "Upload"
Category: bug » task

Makes sense. Normally, string changes should be avoided in stable releases, but since the string "Upload" is likely to exist + be translated already, this change shouldn't do any harm.

joachim’s picture

> you should only click the Attach button when you are uploading a new image, not when you are choosing one to attach from the list.

I've seen other bug reports from people doing that.

sun’s picture

Status: Active » Needs review
StatusFileSize
new864 bytes

Status: Needs review » Needs work

The last submitted patch, image-DRUPAL-6--1.attach-button.3.patch, failed testing.

joachim’s picture

Hmm do any of our tests click the 'Attach' button?

xenophyle’s picture

Wow, this is getting a really quick response! I appreciate it.

joachim’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, image-DRUPAL-6--1.attach-button.3.patch, failed testing.

joachim’s picture

Status: Needs work » Reviewed & tested by the community

This seems to be failing for total WTF reasons to do with the testing rig.

I can't see anything in our image attach tests that tries to click the 'Attach' button, so RTBC.

joachim’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

#867386 by sun: Changed image attach form's 'Attach' button to 'Upload'.

joachim’s picture

Status: Fixed » Active

We missed this:

$uploading_new_image = ($form_state['clicked_button']['#value'] == t('Attach'));

joachim’s picture

Category: task » bug

now a bug.

joachim’s picture

Status: Active » Fixed
StatusFileSize
new1.46 KB

Committed this patch.

#867386 by joachim: (Followup) Fixed remaining checks for 'Attach' button.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.