[wp-meta] [Making WordPress.org] #5846: WPTV: Subtitle attachment info stays even after subtitle file is removed

Making WordPress.org noreply at wordpress.org
Fri Jul 30 03:09:41 UTC 2021


#5846: WPTV: Subtitle attachment info stays even after subtitle file is removed
--------------------------+--------------------
 Reporter:  Nao           |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  WordPress.tv  |   Keywords:
--------------------------+--------------------
 When an approved subtitle file is deleted, it remains as approved
 subtitles. Because of this, a new file for the same language can't be
 uploaded.


 **Steps to reproduce:**

 1. Upload a subtitle file
 2. Approve that subtitles
 3. Delete the subtitle file (WITHOUT unchecking ”approved”)
 4. The video still displays the subtitle language on the frontend sidebar,
 but if you click the language you get an error: `LOCALE is not a supported
 language` (e.g. see the [https://videopress.com/transcript/YWt3f6KW/en-
 ca.ttml?hash=e8fce2b57bca537e407e131ec97c7d17 English (Canada)] link,
 attached to [https://wordpress.tv/2021/06/03/shusei-toda-block-editor-02
 -text-blocks/ this video])
 5. Also, from the backend of the video's attachment information, the
 subtitle seems not selected. In the example case above, the English
 (Canada) subtitle attachment ID value is 0 ([https://wptv.wordpress.com
 /wp-admin/post.php?post=108689&action=edit admin link]).

 **Expected behavior:**
 When an approved subtitle file is deleted, WPTV should consider that the
 video no longer has subtitles for the language.

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


More information about the wp-meta mailing list