SJRK-199: Files are not uploaded if UI language is changed

Metadata

Source
SJRK-199
Type
Bug
Priority
Critical
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Simon Bates
Created
2019-01-23T17:47:35.431-0500
Updated
2020-04-23T21:12:03.474-0400
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

I was able to publish a story with media blocks without their URLs being translated. When the story was viewed, the media files were missing.

I've not been able to reproduce this issue.

At the time I was running:

I captured the published story from CouchDB and have attached it.

Comments

  • Simon Bates commented 2019-01-23T17:50:34.311-0500

    Is there a way that the publish request could be sent without the media files?

  • Simon Bates commented 2019-01-24T14:13:23.214-0500

    This happened to me again. Some details:

    • I created a story with one block for each media type: text, image, audio, video
    • I put content for every field
    • I used the test media from sjrk-story-telling (as in the attached story also)
    • All media was displayed correctly at preview
    • The published story has non-translated URLs
    • The media files are not in the server uploads directory
  • Simon Bates commented 2019-01-24T14:50:53.420-0500

    Ok, figured it out.

    To reproduce:

    • Start a new story, with English UI
    • Add an image block
    • Upload an image
    • Switch language to Español
    • Click "MAS"
    • Click "ENVIAR"
    • Click "COMPARTE MI HISTORIA"
    • Story is published, but image is missing
  • Simon Bates commented 2019-01-24T15:02:13.177-0500

    Potential short-term fix: remove/disable language switching.

  • Gregor Moss commented 2019-04-01T13:46:41.732-0400

    This is a blocker when we turn the ability to switch languages back on, but for now we'll consider it "critical"