deck
deck copied to clipboard
Attachments: extendedData is an Array in some Cases
trafficstars
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
We have a user experiencing a bug, where the server returns the extendedData of an attachment as an array instead of an object:
{
"title": "Melanie Webseite",
"description": "http://someDomain.ch",
"stackId": 6,
"type": "plain",
"lastModified": 1583477447,
"lastEditor": "timo",
"createdAt": 1583441985,
"labels": [],
"assignedUsers": [],
"attachments": [
{
"cardId": 162,
"type": "deck_file",
"data": "someDomain-Einladung-feriegeburtstagswuche.jpeg",
"lastModified": 1583442122,
"createdAt": 1583442122,
"createdBy": "timo",
"deletedAt": 0,
"extendedData": [/*THIS_ONE*/],
"id": 13
}
],
"attachmentCount": 1,
"owner": {
"primaryKey": "timo",
"uid": "timo",
"displayname": "Timo SomeSurname",
"type": 0
},
"order": 999,
"archived": false,
"duedate": null,
"deletedAt": 0,
"commentsUnread": 0,
"id": 162,
"overdue": 0
}
To Reproduce Steps to reproduce the behavior:
- Sync via Android App with unknown constellation (sorry for that!)
this happened after an NC upgrade from 18 to 19
Expected behavior
extendedData always to be an object
Client details: (quite irrelevant -> REST!)
Server details
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page) upgraded 18 -> 19
Where did you install Nextcloud from:
Signing status:
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...