notes icon indicating copy to clipboard operation
notes copied to clipboard

note sharing not working

Open DelPlop opened this issue 8 months ago • 6 comments

we recently updated from Nextcloud 31 to 32 ( we just checked it loaded and didn't test anything else ;-) ) then to 33

Steps to reproduce

  1. go to notes tab
  2. create or edit a note
  3. click on ... => share

Expected behaviour

Sharing form should appear

Actual behaviour

absolutely nothing happens no error in F12 => console no ajax call in F12 => network (except recurring calls to sync and push)

Screenshots

https://www.swisstransfer.com/d/c57368bb-69bd-499f-b245-096b160e0af1

Server

Docker self-hosted

  • Notes app version: 4.13.1
  • Nextcloud version: 33.0.1
  • PHP version: 8.4.19
  • Database: mysql 11.8.6

Nextcloud configuration:

``` { "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "upgrade.disable-web": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "33.0.1.2", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "app_install_overwrite": [ "***REMOVED SENSITIVE VALUE***" ], "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": true, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "maintenance": false, "maintenance_window_start": 1, "overwriteprotocol": "https", "loglevel": 2, "default_phone_region": "FR" } } ```

Client

Please complete the following information.

  • Browser (incl. version): Brave with all extensions turned off
  • OS: Linux but I don't think this is relevant

Log files

I can't find any relevant information in container logs. js console is visible on video

DelPlop avatar Mar 29 '26 11:03 DelPlop

Same here! Need to share a todo list, stat!

This is what I see in the logs...

{"reqId":"fgDUmNFafUpD5GlkgftO","level":2,"time":"2026-03-30T18:09:24+00:00","app":"PHP","method":"GET","url":"/apps/notes/notes?pruneBefore=1774894138","scriptName":"/index.php","message":"Undefined array key \"node\" at /config/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#201","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36","version":"33.0.1.2","data":{"app":"PHP"},"id":"69cabcafa0b19"}

brucethomax avatar Mar 30 '26 18:03 brucethomax

Having the same issue here!

Seeing this I'm the logs

[PHP] Warning: Undefined array key "node" at /var/www/html/custom_apps/notes/lib/Service/NoteUtil.php#201
	GET /apps/notes/notes?pruneBefore=1775529742
	from 99.196.129.xxx by nebriv at Apr 6, 2026, 8:43:19 PM
{"reqId":"EzM7FNMgpWwPPPSFyUMp","level":2,"time":"2026-04-07T02:42:22+00:00","remoteAddr":"99.196.129.xxx","user":"nebriv","app":"PHP","method":"GET","url":"/apps/notes/notes?pruneBefore=1775529716","scriptName":"/index.php","message":"Undefined array key \"node\" at /var/www/html/custom_apps/notes/lib/Service/NoteUtil.php#201","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Mobile Safari/537.36","version":"33.0.2.2","data":{"app":"PHP"},"id":"69d46ff298a60"}

nebriv avatar Apr 07 '26 02:04 nebriv

Same here, clicking in the Share sign->nothing happens

Image

Taloan avatar Apr 12 '26 09:04 Taloan

same reported by my customer today ... thanks for any work on this

stefangweichinger avatar Apr 21 '26 16:04 stefangweichinger

Same here with the same configuration, it's problematic

GuillaumeEvrard avatar Apr 21 '26 20:04 GuillaumeEvrard

fixing at https://github.com/nextcloud/notes/pull/1827

enjeck avatar Apr 23 '26 05:04 enjeck