Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#6062 closed defect (bug) (fixed)

Photo not credited to my name

Reported by: h2ofilters's profile h2ofilters Owned by:
Milestone: Priority: normal
Component: Photo Directory Keywords:
Cc:

Description

I just submitted the photo here at https://pd.w.org/2022/01/35161f73a8d8dfc07.07014107.jpg but it doesn't seem to be assigned to my name. Other photos are awaiting approval. I had internet issues while submitting them.

Is there any way to remove the "unknown" label and assigned to my name?

Change History (7)

#1 @dd32
3 years ago

Hi @h2ofilters,

This appears to have been caused due to an issue during upload; cc'ing @coffee2code here to check what the status of the upload was.

Error for reference of others: (Search the errors for h2ofilters)

E_ERROR: Uncaught RuntimeException: Unable to read from stream in vendor/guzzlehttp/psr7/src/Stream.php:227

Version 0, edited 3 years ago by dd32 (next)

#2 follow-up: @h2ofilters
3 years ago

That was a quick reply. Thanks!

Should I re-upload the 5 photos that are “waiting for moderation” because this error?

#3 in reply to: ↑ 2 @dd32
3 years ago

Replying to h2ofilters:

Should I re-upload the 5 photos that are “waiting for moderation” because this error?

Please don't, Let's just wait for someone who is more familiar with the Photo Directory architecture to suggest a way forward, if we leave things as they are, they'll have more details to go on to prevent a similar issue in the future.

#4 follow-up: @coffee2code
3 years ago

Hi @h2ofilters,

I'm a little confused by your reported issue or misunderstand you. The photo URL you posted is the path to the image you uploaded after we made it public. The page associated with the photo is https://wordpress.org/photos/photo/35161f73a8/. That's where the photo attribution can be found and presumably where you found the photo URL in the first place. Where did you see that the photo was assigned to "uknown"? (please provide the URL)

(The photo happens to be the most recently approved photo at the moment, but can also be seen on your contributor page at https://wordpress.org/photos/author/h2ofilters/.)

While it is true, as dd32 found, there was a transient error on our end regarding a previous submission attempt of this same photo from you, that does not appear to relate to this ticket.

You also mention 5 photos awaiting moderation. We only have record of 2 submissions from you: the one that got approved (the one this ticket references) and the one that has a processing error.

#5 @coffee2code
3 years ago

Actually, now that I think about it more, I might understand part of the miscommunication.

On the submission form, there's a table that lists "Submissions awaiting moderation". If there was a problem in processing the upload, the system may not fully associate the photo with a post (or the photo may never have completed uploading in the first place). Either way, the system is aware of your submission but not of the photo. So in the "Submissions awaiting moderation" listing, your upload will have a filename of "(unknown)".

Is that the "unknown" attribution you referenced? If so, that just refers to the filename of the file you uploaded, it's only shown to you, and it only applies to the submission still in the moderation queue. Though you attempted the same photo twice, the one that was approved (that you linked to) is not the one that is still in the moderation queue.

This doesn't explain how you believe there are 5 other submissions of yours in the moderation queue. You should only have one, with a filename of "(unknown)". If you do have more listed, could you provide a screenshot of the listing?

(Handling of submission errors will certainly be improved as we continue to work on things.)

#6 in reply to: ↑ 4 @dd32
3 years ago

Replying to coffee2code:

While it is true, as dd32 found, there was a transient error on our end regarding a previous submission attempt of this same photo from you, that does not appear to relate to this ticket.

Ah thank you for confirming, I just saw the error shortly before the ticket was created, with 5 image uploads attached, and assumed it was linked :)

Thanks for looking into it!

#7 @coffee2code
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Thanks dd32 for the added context of the error that made me look into the error message itself even closer! (There were two different things that happened and I wasn't sure what was going on at first myself.)

Turns out that due to a bug, we inadvertantly allowed users to submit more than one photo at a time on a single form submission. The backend doesn't handle this; hence the error. This also explains h2ofilter's side of things since they did upload 5 photos and could reasonably think those were still awaiting moderation.

I'm closing this issue as fixed:

  • We no longer permit browsers to allow multiple files (as of 2022-02-01 in [18392-dororg])
  • The attribution for the photo in the ticket is correct (as explained in my first comment), and the "unknown" was related to the multi-file submission that generated an error.
  • The 5 other submissions claimed to be waiting in the queue were actually uploaded, but weren't handled by the system, so they don't really exist.

I've removed h2ofilter's submission that generated the error. An email was sent that indicated as much. We encourage the individual resubmission of the photos that were attempted (other than the one already approved).

Note: See TracTickets for help on using tickets.