SJRK-263: Empty blocks are being saved by storySpeaker

Metadata

Source
SJRK-263
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Gregor Moss
Created
2019-07-26T18:51:26.796-0400
Updated
2019-09-10T11:35:23.079-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool UI

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

Attachments

Comments