Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 406
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 61
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Issues
  • #2334

Closed
Open
Opened 1 hour ago by Emiliano Balbuena@edgebal
Report abuse New issue

Cannot delete attachment on newsfeed composer

Summary

Can't delete attachment when uploaded and ready to post.

Steps to reproduce

  • Click on the attachment button in the newsfeed composer
  • Select an image and wait until it's uploaded
  • Click on the trash can icon

Platform information

  • OS: Pop!_OS 19.10 (Linux)
  • Browser: Firefox 70 / Chrome 78

What is the current bug behavior?

Can't delete attachment when uploaded and ready to post.

What is the expected correct behavior?

Should be able to delete attachment.

Relevant logs and/or screenshots

Console output (Firefox):

 TypeError: "this.uploadSubscription is undefined"
    abort https://cdn-assets.minds.com/front/dist/en/main.803bc6d926793668f23b.js:1
    removeAttachment https://cdn-assets.minds.com/front/dist/en/main.803bc6d926793668f23b.js:1
    nG https://cdn-assets.minds.com/front/dist/en/main.803bc6d926793668f23b.js:1
    handleEvent https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    handleEvent https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    Fl https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    _f https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    F https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    r https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    invokeTask https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1
    onInvokeTask https://cdn-assets.minds.com/front/dist/en/vendor.779a60b3ce201322a755.js:1
    invokeTask https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1
    runTask https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1
    invokeTask https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1
    _ https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1
    m https://cdn-assets.minds.com/front/dist/en/polyfills.055b24b90bf66d29b201.js:1

Console output (Chrome):

TypeError: Cannot read property 'unsubscribe' of undefined
    at l.abort (main.803bc6d926793668f23b.js:1)
    at l.removeAttachment (main.803bc6d926793668f23b.js:1)
    at Object.handleEvent (main.803bc6d926793668f23b.js:1)
    at Object.handleEvent (vendor.779a60b3ce201322a755.js:1)
    at Object.handleEvent (vendor.779a60b3ce201322a755.js:1)
    at Fl (vendor.779a60b3ce201322a755.js:1)
    at vendor.779a60b3ce201322a755.js:1
    at HTMLDivElement.<anonymous> (vendor.779a60b3ce201322a755.js:1)
    at HTMLDivElement.r (vendor.779a60b3ce201322a755.js:1)
    at e.invokeTask (polyfills.055b24b90bf66d29b201.js:1)
    at Object.onInvokeTask (vendor.779a60b3ce201322a755.js:1)
    at e.invokeTask (polyfills.055b24b90bf66d29b201.js:1)
    at t.runTask (polyfills.055b24b90bf66d29b201.js:1)
    at t.invokeTask [as invoke] (polyfills.055b24b90bf66d29b201.js:1)
    at _ (polyfills.055b24b90bf66d29b201.js:1)
    at HTMLDivElement.m (polyfills.055b24b90bf66d29b201.js:1)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

/label ~"T - Bug" ~"S - Triage:new"

Edited 1 hour ago by Ben Hayward

Related issues
0

  • Discussion 1
  • Designs 0
  • Emiliano Balbuena @edgebal added Type::Bug (Triage) scoped label 1 hour ago

    added scoped label

  • Emiliano Balbuena @edgebal changed the description 1 hour ago

    changed the description

  • Ben Hayward @benhayward.ben changed the description 1 hour ago

    changed the description

  • Ben Hayward @benhayward.ben added Priority::1 - High Product::Newsfeed Status::Scheduling Type::Bug scoped labels and automatically removed Type::Bug (Triage) label 1 hour ago

    added scoped labels and automatically removed label

  • Ben Hayward @benhayward.ben unassigned @benhayward.ben 1 hour ago

    unassigned @benhayward.ben

  • Brian Hatchet :speech_balloon: @brianhatchet assigned to @benhayward.ben 1 hour ago

    assigned to @benhayward.ben

  • Brian Hatchet :speech_balloon: @brianhatchet added Squad::Yellow scoped label 1 hour ago

    added scoped label

  • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::12/11 - Understood Unicorn Status::Backlog scoped labels and automatically removed Status::Scheduling label 1 hour ago

    added scoped labels and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet changed weight to 4 1 hour ago

    changed weight to 4

  • Brian Hatchet :speech_balloon: @brianhatchet changed time estimate to 4h 1 hour ago

    changed time estimate to 4h

  • Xander Miller
    Xander Miller @xander-miller · 1 hour ago
    Developer

    Confirmed.

    image

Please register or sign in to reply
Assignee
Ben Hayward's avatar
Ben Hayward @benhayward.ben
none
Epic
None
None
Milestone
None
Time tracking
Estimated: 4h
None
Due date
None
6
Labels
Priority::1 - High Product::Newsfeed Sprint::12/11 - Understood Unicorn Squad::Yellow Status::Backlog Type::Bug
4
Weight
4
Confidentiality
Not confidential
Lock issue
Unlocked
4
4 participants
user avatar
Ben Hayward
user avatar
Xander Miller
user avatar
Brian Hatchet
user avatar
Emiliano Balbuena
Reference: minds/front#2334