Empty blocks are being saved by storySpeaker

Description

Blocks that should be filtered out due to being "empty" are still making it through the model relay.

Minimum steps to reproduce:
1. create an image, video or audio block and populate at least one of its fields that isn't the media (e.g. an image block with no image)
2. publish the story

Expected:
The empty media block should be filtered out by the model relay in storyEdit

Actual:
The empty media block is not being filtered out and is being saved and rendered

Environment

None

Attachments

1

Activity

Show:

Justin Obara September 3, 2019 at 3:19 PM

Merged PR ( https://github.com/fluid-project/sjrk-story-telling/pull/37 ) into the project repo at 8f7600cb049323ce088745f42f1733ad73d774fe

Fixed

Details

Assignee

Reporter

Components

Priority

Created July 26, 2019 at 10:51 PM
Updated September 10, 2019 at 3:35 PM
Resolved September 3, 2019 at 3:19 PM