Skip to content

Can't open card-details on read-only deck #2033

Description

@firlevapz

Describe the bug
If you want to open a card and see the details of a card of a deck, which is shared to you as read-only, then nothing happens and an error in the console shows up.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a deck, where you just have read-only permissions (no edit, no sharing, no managing)
  2. Click on any card on the deck
  3. Nothing happens (actually the card-details should show up)
  4. Error in console appears

Expected behavior
Details should be visible (assignee, due-date, description)

Client details:

  • OS: Ubuntu 20.04
  • Browser firefox, brave, chromium
  • Version recent versions
  • Device: desktop
Server details

Recent snap installation of nextcloud

Logs

Browser log

Firefox

TypeError: "e.scope is undefined"
    ia CardSidebar.vue:1
    bt VueJS
    ia CardSidebar.vue:1
    VueJS 7
        _render
        r
        get
        run
        pn
        rt
        Ke
main.js:62:9
    errorHandler main.js:62
    VueJS 9
        $e
        Ge
        _render
        r
        get
        run
        pn
        rt
        Ke

Chromium

main.js:62 TypeError: Cannot read property 'option' of undefined
    at CardSidebar.vue?4120:1
    at i.bt [as _l] (vue.esm.js:2639)
    at i.<anonymous> (CardSidebar.vue?4120:1)
    at i.e._render (vue.esm.js:3557)
    at i.r (vue.esm.js:4075)
    at mn.get (vue.esm.js:4488)
    at mn.run (vue.esm.js:4563)
    at pn (vue.esm.js:4319)
    at Array.<anonymous> (vue.esm.js:1989)
    at Ke (vue.esm.js:1915)


n.default.config.errorHandler | @ | main.js:35
-- | -- | --
  | $e | @ | vue.esm.js:8
  | Ge | @ | vue.esm.js:8
  | e._render | @ | vue.esm.js:8
  | r | @ | vue.esm.js:8
  | mn.get | @ | vue.esm.js:8
  | mn.run | @ | vue.esm.js:8
  | pn | @ | vue.esm.js:8
  | (anonymous) | @ | vue.esm.js:8
  | Ke | @ | vue.esm.js:8
  | Promise.then (async) |   |  
  | Ve | @ | vue.esm.js:8
  | rt | @ | vue.esm.js:8
  | (anonymous) | @ | vue.esm.js:8
  | mn.update | @ | vue.esm.js:8
  | pe.notify | @ | vue.esm.js:8
  | set | @ | vue.esm.js:8
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | Ie.updateRoute | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | r | @ | deck.js?v=2983bf8c:1339
  | r | @ | deck.js?v=2983bf8c:1339
  | ye | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | r | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | (anonymous) | @ | deck.js?v=2983bf8c:1339
  | m | @ | deck.js?v=2983bf8c:1339

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions