Uploaded image for project: 'Social Justice Repair Kit'
  1. Social Justice Repair Kit
  2. SJRK-263

Empty blocks are being saved by storySpeaker

    Details

    • Type: Bug
    • Status: Pull Request
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Storytelling Tool UI
    • Labels:
      None

      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

        1. 2019-07-26 block filter failure.PNG
          39 kB
          Gregor Moss

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gmoss Gregor Moss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: