[wp-meta] [Making WordPress.org] #2958: Wrong error response when uploading subtitles without having selected a language

Making WordPress.org noreply at wordpress.org
Fri Jul 14 22:07:37 UTC 2017


#2958: Wrong error response when uploading subtitles without having selected a
language
--------------------------+-----------------------
 Reporter:  tfrommen      |      Owner:
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  WordPress.tv  |   Keywords:  has-patch
--------------------------+-----------------------
 When you upload a subtitle file without having selected a language, the
 error code `8` gets returned. The according message, however, is about
 already having subtitles for that language - which is not only wrong, but
 also just not possible.

 Instead, the error code `7`, indicating an invalid language, would be the
 right one to send.

 Patch follows.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2958>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list