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

[Bug]: Comments in Nextcloud on PDF files are assigned to the wrong file #47138

Closed
4 of 7 tasks
versus167 opened this issue Aug 8, 2024 · 1 comment
Closed
4 of 7 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@versus167
Copy link

versus167 commented Aug 8, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

I have several PDF files in one folder. I view these PDFs one after the other in the web interface. Then I want to write a comment on a PDF in Nextcloud. This comment is only ever assigned to the first PDF opened in this session.

Steps to reproduce

  1. put some pdf-files in an folder
  2. open this folder in web-interface
  3. view some of the PDFs in web-interface
  4. add an comment to an PDF in web-interface
  5. the comment is always stored to the first opened PDF in this session

Expected behavior

The comment should stored to the actually opened PDF.

Installation method

snap

Nextcloud Server version

29

Operating system

ubuntu

PHP engine version

None

Web server

None

Database engine version

mysql

Is this bug present after an update or on a fresh install?

Are you using the Nextcloud Server Encryption module?

no

What user-backends are you using?

  • [ x] Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

sudo nextcloud.occ config:list system
{
    "system": {
        "apps_paths": [
            {
                "path": "\/snap\/nextcloud\/current\/htdocs\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
                "url": "\/extra-apps",
                "writable": true
            }
        ],
        "supportedDatabases": [
            "mysql"
        ],
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "atc-work.no-ip.biz",
            "nextcloud.atc-stb.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nextcloud.atc-stb.de\/",
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.4.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "maintenance": false,
        "theme": "",
        "mail_sendmailmode": "smtp",
        "mail_smtpport": "25",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": true,
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "maintenance_window_start": 1
    }
}

List of activated Apps

sudo nextcloud.occ app:list
[sudo] password for atcadmin: 
Enabled:
  - activity: 2.21.1
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.15
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - flow_notifications: 1.9.0
  - gpoddersync: 3.9.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.4
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tasks: 0.16.0
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_totp: 11.0.0-dev
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - encryption: 2.17.0
  - files_external: 1.21.0
  - files_mindmap: 0.0.30 (installed 0.0.30)
  - files_retention: 1.18.0 (installed 1.18.0)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - onlyoffice: 9.3.0 (installed 9.3.0)
  - spreed: 19.0.7 (installed 19.0.7)
  - suspicious_login: 7.0.0
  - user_ldap: 1.20.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"Jnj8jjFcnWt0zYYo8USj","level":2,"time":"2024-08-08T13:43:13+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Used memory grew by more than 50 MB when executing job OCA\\DAV\\BackgroundJob\\RefreshWebcalJob (id: 16671, arguments: {\"principaluri\":\"principals\\/users\\/vs_atc\",\"uri\":\"calendargooglecom-1\"}): 116.5 MB (before: 34.5 MB)","userAgent":"--","version":"29.0.4.1","data":{"app":"cron"},"id":"66b4cbf77be19"}

Additional info

It seems the log has nothing to do with the problem, but this message comes very often.
No response

@versus167 versus167 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 8, 2024
@solracsf
Copy link
Member

solracsf commented Aug 8, 2024

Duplicate of nextcloud/activity#1772

@solracsf solracsf closed this as completed Aug 8, 2024
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

2 participants