Deck: Pre-upgrade card won't show card details

Created on 11 May 2020  路  4Comments  路  Source: nextcloud/deck

Describe the bug
Recently upgraded to Nextcloud 18 + Deck 1.0.0. Since then, the deck boards have become unusable as we cannot see a card's details view on the right side of the page. When clicking on a card, nothing happens but the browsers' console log shows:

"uncaught exception: Object"

and

"Error: "Input data should be a String"
parse index.js:518
render index.js:543
renderedDescription CardSidebar.vue:328
VueJS 3
Ur CardSidebar.vue:1
VueJS 7
vue.esm.js:1897:12
"

This is the case for most of the cards. Every once in a while, a card will open the details side view; these are always the same cards -- previously not working card still don't work or show card details after clicking on a card that "works properly".

I've also noticed when creating a new board and adding cards, these all work fine; it seems to only be caused by pre-1.0.0 cards (most of them, but not all). I've also noticed that all the cards that do work seem to have a description, where as card that don't work seem to have an empty description (checked this by using the Android app as we cannot currently see card details for those cards on the web).

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Deck board
  2. Click on a card
  3. Side view doesn't show

Expected behavior
Clicking on a card show open the card details right-side view so the card can be edited.

Client details:
Tried on:

  • Linux and Windows
  • Chrome and Firefox


Server details

Nextcloud version: 18.0.4

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

No errors have been found.

Browser log

Insert your browser log here, this could for example include:

"uncaught exception: Object"

and

"Error: "Input data should be a String"
    parse index.js:518
    render index.js:543
    renderedDescription CardSidebar.vue:328
    VueJS 3
    Ur CardSidebar.vue:1
    VueJS 7
vue.esm.js:1897:12
"

0. Needs triage bug

Most helpful comment

OK, can reproduce but not sure it only depends on the card creation point/content. However impacted cards do seem to be pre-upgrade and have no description, but there are also cards which match those criteria and do work.

The uncaught exception: Object entry in the console occurs for click on any card. While the error

Error: "Input data should be a String" parse index.js:518 render index.js:543 renderedDescription CardSidebar.vue:328 VueJS 3 Ur CardSidebar.vue:1 VueJS 7 vue.esm.js:1897:12

appears only when clicking on a card that has the issue.

All 4 comments

OK, can reproduce but not sure it only depends on the card creation point/content. However impacted cards do seem to be pre-upgrade and have no description, but there are also cards which match those criteria and do work.

The uncaught exception: Object entry in the console occurs for click on any card. While the error

Error: "Input data should be a String" parse index.js:518 render index.js:543 renderedDescription CardSidebar.vue:328 VueJS 3 Ur CardSidebar.vue:1 VueJS 7 vue.esm.js:1897:12

appears only when clicking on a card that has the issue.

Hm so not sure why this could happen but maybe for some reason the description is null instead of an empty string when trying to render the markdown https://github.com/nextcloud/deck/blob/f926000bd43e2d11d9a5f85e299d3c1eb339f4eb/src/components/card/CardSidebar.vue#L328

I am having the same problem on one instance, if there is a keyword I am getting the browser console message Input data should be a string and if there is none set for the card it shows uncaught exception: object for most pre-upgrade cards.

All cards with NULL in their description field don't work:

| 17 | Beispielaufgabe 3 | NULL | NULL | 9 | text | 1572855736 | NULL | 1564476786 | user | 1 | 0 | NULL | 0 | 1572855736 |

Using 1.0 I also cannot access the card details for cards with NULL descriptions. I added a description to a card using the Deck app on Android and that card now allows me to access the card details.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

desperateCoder picture desperateCoder  路  3Comments

poVoq picture poVoq  路  4Comments

NebriBlackwing picture NebriBlackwing  路  4Comments

PanCakeConnaisseur picture PanCakeConnaisseur  路  4Comments

ghost picture ghost  路  3Comments