Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmarks and Calendar views empty, when Files was not visited previously #10108

Closed
dgsiegel opened this issue Jul 4, 2018 · 5 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@dgsiegel
Copy link

dgsiegel commented Jul 4, 2018

Steps to reproduce

  1. Start a new browser session
  2. Directly navigate to either the bookmarks or calendar app URL
  3. Content is empty

Expected behaviour

Both bookmarks or calendar should display their normal content.

Actual behaviour

Instead I get this Javascript error

bookmarks.js?v=3c923dd2-0:151 Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.success (bookmarks.js?v=3c923dd2-0:151)
    at j (core.js?v=3c923dd2-0:2)
    at Object.fireWith [as resolveWith] (core.js?v=3c923dd2-0:2)
    at x (core.js?v=3c923dd2-0:4)
    at XMLHttpRequest.<anonymous> (core.js?v=3c923dd2-0:4)

Loading the files app first and then navigating to bookmarks or calendar circumvents this error.

Server configuration

Operating system: Debian 9

Web server: Lighttpd

Database: SQLite

PHP version: 7.1

Nextcloud version: 13.0.2, but this error exists since 10 at least

Updated from an older Nextcloud/ownCloud or fresh install: Updated continiously from Owncloud 6

Where did you install Nextcloud from: Upgrade via occ

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - bookmarks: 0.11.0
  - bruteforcesettings: 1.0.3
  - calendar: 1.6.1
  - comments: 1.3.0
  - contacts: 2.1.5
  - dav: 1.4.6
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_pdfviewer: 1.2.1
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - nextcloud_announcements: 1.2.0
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - theming: 1.4.5
  - twofactor_backupcodes: 1.2.3
  - updatenotification: 1.3.0
  - workflowengine: 1.3.0
Disabled:
  - encryption
  - files_external
  - user_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "13.0.2.1",
        "installed": true,
        "forcessl": true,
        "theme": "",
        "loglevel": 2,
        "maintenance": false,
        "trusted_domains": [
            "cloud.nopln.org"
        ],
        "mail_smtpmode": "php",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trashbin_retention_obligation": "auto, 60",
        "appstore.experimental.enabled": false,
        "updater.release.channel": "stable",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.nopln.org"
    }
}

Are you using external storage, if yes which one: No

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Chrome, Firefox

Operating system: Linux, Android, Windows

Logs

Web server error log

Web server error log
No errors found

Nextcloud log (data/nextcloud.log)

Nextcloud log
No errors found

Browser log

Browser log
bookmarks.js?v=3c923dd2-0:151 Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.success (bookmarks.js?v=3c923dd2-0:151)
    at j (core.js?v=3c923dd2-0:2)
    at Object.fireWith [as resolveWith] (core.js?v=3c923dd2-0:2)
    at x (core.js?v=3c923dd2-0:4)
    at XMLHttpRequest.<anonymous> (core.js?v=3c923dd2-0:4)
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #2413 (Previews for empty files broken), #1071 (Not possible to view files inside of Deleted Files), #2200 (Can't view PDF in files app anymore), #1028 (Inconsistent links from calendar, contacts and files), and #9055 (share-internal / calendar-task-note file attached ).

@MorrisJobke
Copy link
Member

@rullzer @blizzz @nickvergessen Any idea what could cause this? Is there some special hook triggered in the files app?

@marcelklehr
Copy link
Member

Just saw this by chance.

@dgsiegel I couldn't replicate this with my setup. The error probably means there was a problem fetching the bookmarks. Do you need to sign into nextcloud when starting such a new browser session? (Do your cookies persist across sessions?)

@dgsiegel
Copy link
Author

Do you need to sign into nextcloud when starting such a new browser session? (Do your cookies persist across sessions?)

No, I am logged in and several cookies persist.

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@skjnldsv
Copy link
Member

As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

5 participants