Skip to content

Share modal doesn't work on admin page #1546

@jayoshih

Description

@jayoshih

Summary

image

Category

Select one: BUG

Usage Details

Please give details about how you were using Studio.

  • Browser: ?
  • Channel: ?
  • Topic/Content Item: ?

Traceback or relevant snippet from browser console

Uncaught TypeError: Cannot read property 'toJSON' of undefined
    at i.render (views.js:125)
    at initialize (views.js:103)
    at i.e.View (backbone.js:1224)
    at i [as constructor] (backbone.js:1884)
    at new i (backbone.js:1884)
    at initialize (views.js:70)
    at i.e.View (backbone.js:1224)
    at i [as constructor] (backbone.js:1884)
    at i [as constructor] (backbone.js:1884)
    at new i (backbone.js:1884)
    at i.open_sharing (views.js:403)
    at j (underscore.js:762)
    at HTMLButtonElement.<anonymous> (underscore.js:775)
    at HTMLButtonElement.<anonymous> (underscore.js:122)
    at HTMLDivElement.dispatch (jquery.js:4737)
    at HTMLDivElement.v.handle (jquery.js:4549)
    at HTMLDivElement.d (raven.js:445)

How to reproduce

  1. Log in as admin
  2. Try to open share modal on one of the channels

Real-life consequences (anything community should be aware of, for instance how it affects end users)

It may be trickier for admins to manage channels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions