{"action":"opened","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/3455","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/3455/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/3455/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/3455/events","html_url":"https://github.com/nextcloud/server/issues/3455","id":206965879,"number":3455,"title":"Accept remote share on notification failed","user":{"login":"apg1980","id":9514965,"avatar_url":"https://avatars.githubusercontent.com/u/9514965?v=3","gravatar_id":"","url":"https://api.github.com/users/apg1980","html_url":"https://github.com/apg1980","followers_url":"https://api.github.com/users/apg1980/followers","following_url":"https://api.github.com/users/apg1980/following{/other_user}","gists_url":"https://api.github.com/users/apg1980/gists{/gist_id}","starred_url":"https://api.github.com/users/apg1980/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apg1980/subscriptions","organizations_url":"https://api.github.com/users/apg1980/orgs","repos_url":"https://api.github.com/users/apg1980/repos","events_url":"https://api.github.com/users/apg1980/events{/privacy}","received_events_url":"https://api.github.com/users/apg1980/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-11T07:50:06Z","updated_at":"2017-02-11T07:50:06Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Accept remote share on notification\r\n2. Failed to perform action appears\r\n3. Following entrys in the log:\r\nError\tPHP\tCall to a member function file_exists() on null at /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/legacy/helper.php#346\t2017-02-11T08:45:52+0100\r\nError\tPHP\tArgument 3 passed to OC_Helper::buildNotExistingFileNameForView() must be an instance of OC\\Files\\View, null given, called in /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/legacy/helper.php on line 323 and defined at /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/legacy/helper.php#333\r\n\r\n### Expected behaviour\r\nRemote share should be accepted\r\n\r\n### Actual behaviour\r\nShare is not accepted, is still appearing on notification.\r\n\r\n### Server configuration\r\n**Operating system**: Linux linux 4.4.0-34-generic #53~14.04.1-Ubuntu SMP Wed Jul 27 16:56:40 UTC 2016 x86_64\r\n\r\n**Web server:** Apache (apache2handler)\r\n\r\n**Database:** mysql 5.6.29\r\n\r\n**PHP version:** 5.6.19\r\nModules loaded: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, standard, mysqlnd, mysqli, mysql, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, apache2handler, redis, Zend OPcache\r\n\r\n**Nextcloud version:** 11.0.1 (stable) - 11.0.1.2\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\n\r\n**Where did you install Nextcloud from:** \r\n\r\n**Signing status:**\r\n<details>\r\n\t<summary>Signing status</summary>\r\n\r\n```\r\n\"Integrity checker has been disabled. Integrity cannot be verified.\"\r\n```\r\n\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n\t<summary>App list</summary>\r\n```\r\nEnabled:\r\n - activity: 2.4.1\r\n - admin_audit: 1.1.0\r\n - announcementcenter: 3.0.0\r\n - audioplayer: 1.4.1\r\n - bookmarks: 0.9.1\r\n - calendar: 1.5.0\r\n - comments: 1.1.0\r\n - contacts: 1.5.3\r\n - dav: 1.1.1\r\n - direct_menu: 0.10.0\r\n - federatedfilesharing: 1.1.1\r\n - federation: 1.1.1\r\n - files: 1.6.1\r\n - files_downloadactivity: 1.0.0\r\n - files_external: 1.1.2\r\n - files_pdfviewer: 1.0.1\r\n - files_reader: 0.8.4\r\n - files_sharing: 1.1.1\r\n - files_texteditor: 2.2\r\n - files_trashbin: 1.1.0\r\n - files_versions: 1.4.0\r\n - files_videoplayer: 1.0.0\r\n - firstrunwizard: 2.0\r\n - gallery: 16.0.0\r\n - issuetemplate: 0.2.0\r\n - logreader: 2.0.0\r\n - lookup_server_connector: 1.0.0\r\n - mozilla_sync: 1\r\n - news: 10.1.0\r\n - nextcloud_announcements: 1.0\r\n - notifications: 1.0.1\r\n - ownnote: 1.08\r\n - password_policy: 1.1.0\r\n - previewgenerator: 1.0.1\r\n - provisioning_api: 1.1.0\r\n - rainloop: 4.27\r\n - serverinfo: 1.1.1\r\n - sharebymail: 1.0.1\r\n - survey_client: 0.1.5\r\n - systemtags: 1.1.3\r\n - tasks: 0.9.4\r\n - templateeditor: 0.2\r\n - theming: 1.1.1\r\n - twofactor_backupcodes: 1.0.0\r\n - updatenotification: 1.1.1\r\n - user_ldap: 1.1.1\r\n - workflowengine: 1.1.1\r\n\r\nDisabled:\r\n - documents\r\n - encryption\r\n - external\r\n - files_accesscontrol\r\n - files_automatedtagging\r\n - files_retention\r\n - keeweb\r\n - nextant\r\n - passwords\r\n - user_external\r\n - user_saml\r\n```\r\n</details>\r\n\r\n**The content of config/config.php:**\r\n<details>\r\n\t<summary>Config report</summary>\r\n\r\n```\r\n{\r\n    \"instanceid\": \"oca32fe9a93f\",\r\n    \"trusted_domains\": [\r\n        \"127.0.0.1\",\r\n        \"10.10.20.22\",\r\n        \"cloud.xxxx.de\",\r\n        \"cloud.xxxx24.de\"\r\n    ],\r\n    \"datadirectory\": \"\\/OWNCLOUD-DATA\\/opt\\/data\",\r\n    \"tempdirectory\": \"\\/OWNCLOUD-DATA\\/opt\\/tmp\\/nextcloud\",\r\n    \"dbtype\": \"mysql\",\r\n    \"version\": \"11.0.1.2\",\r\n    \"dbname\": \"bitnami_owncloud\",\r\n    \"dbhost\": \"127.0.0.1\",\r\n    \"dbtableprefix\": \"oc_\",\r\n    \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n    \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n    \"installed\": true,\r\n    \"log_authfailip\": false,\r\n    \"cron_log\": true,\r\n    \"check_for_working_webdav\": false,\r\n    \"check_for_working_htaccess\": false,\r\n    \"appcodechecker\": false,\r\n    \"updatechecker\": true,\r\n    \"appstoreenabled\": true,\r\n    \"appstore.experimental.enabled\": true,\r\n    \"knowledgebaseenabled\": true,\r\n    \"loglevel\": 2,\r\n    \"asset-pipeline.enabled\": false,\r\n    \"mail_smtpmode\": \"smtp\",\r\n    \"mail_smtphost\": \"xxxxxxxx\",\r\n    \"mail_smtpport\": \"4425\",\r\n    \"mail_from_address\": \"owncloud\",\r\n    \"mail_domain\": \"cloud.xxxd.de\",\r\n    \"mail_smtpdebug\": false,\r\n    \"theme\": \"\",\r\n    \"maintenance\": false,\r\n    \"preview_libreoffice_path\": \"\\/usr\\/bin\\/libreoffice\",\r\n    \"ldapIgnoreNamingRules\": false,\r\n    \"logtimezone\": \"Europe\\/Berlin\",\r\n    \"log_rotate_size\": 902400,\r\n    \"forcessl\": false,\r\n    \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n    \"xframe_restriction\": false,\r\n    \"allow_user_to_change_display_name\": false,\r\n    \"memcache.local\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n    \"filelocking.enabled\": \"false\",\r\n    \"memcache.distributed\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n    \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n    \"redis\": {\r\n        \"host\": \"\\/var\\/run\\/redis\\/redis.sock\",\r\n        \"port\": 0,\r\n        \"timeout\": 0,\r\n        \"dbindex\": 0\r\n    },\r\n    \"trashbin_retention_obligation\": \"auto, 30\",\r\n    \"defaultapp\": \"files\",\r\n    \"activity_expire_days\": 30,\r\n    \"enable_previews\": true,\r\n    \"lost_password_link\": \"https:\\/\\/mail.xxxxd.de\\/ecp\\/?rfr=owa&p=PersonalSettings\\/Password.aspx\",\r\n    \"versions_retention_obligation\": \"auto, 30\",\r\n    \"htaccess.RewriteBase\": \"\\/\",\r\n    \"ldapProviderFactory\": \"\\\\OCA\\\\User_LDAP\\\\LDAPProviderFactory\",\r\n    \"auth.bruteforce.protection.enabled\": false,\r\n    \"token_auth_enforced\": false,\r\n    \"integrity.check.disabled\": true\r\n}\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** Array\r\n(\r\n    [0] => \\OC\\Files\\Storage\\Local\r\n    [1] => \\OCA\\Files_External\\Lib\\Storage\\FTP\r\n    [2] => \\OC\\Files\\Storage\\DAV\r\n    [3] => \\OCA\\Files_External\\Lib\\Storage\\OwnCloud\r\n    [4] => \\OCA\\Files_External\\Lib\\Storage\\SFTP\r\n    [5] => \\OCA\\Files_External\\Lib\\Storage\\AmazonS3\r\n    [6] => \\OCA\\Files_External\\Lib\\Storage\\Dropbox\r\n    [7] => \\OCA\\Files_External\\Lib\\Storage\\Google\r\n    [8] => \\OCA\\Files_External\\Lib\\Storage\\Swift\r\n    [9] => \\OCA\\Files_External\\Lib\\Storage\\SFTP\r\n    [10] => \\OCA\\Files_External\\Lib\\Storage\\SMB\r\n    [11] => \\OCA\\Files_External\\Lib\\Storage\\SMB\r\n)\r\n\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n<details>\r\n\t<summary>LDAP config</summary>\r\n\r\n\t```\r\n\tWith access to your command line run e.g.:\r\n\tsudo -u www-data php occ ldap:show-config\r\n\tfrom within your Nextcloud installation folder\r\n\r\n\tWithout access to your command line download the data/owncloud.db to your local\r\n\tcomputer or access your SQL server remotely and run the select query:\r\n\tSELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';\r\n\r\n\r\n\tEventually replace sensitive data as the name/IP-address of your LDAP server or groups.\r\n\t```\r\n</details>\r\n### Client configuration\r\n**Browser:** Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0\r\n\r\n**Operating system:**\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n\t<summary>Web server error log</summary>\r\n\t```\r\n\tInsert your webserver log here\r\n\t```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n\t<summary>Nextcloud log</summary>\r\n\t```\r\n\tInsert your Nextcloud log here\r\n\t```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n\t<summary>Browser log</summary>\r\n\t```\r\n\tInsert your browser log here, this could for example include:\r\n\r\n\ta) The javascript console log\r\n\tb) The network log\r\n\tc) ...\r\n\t```\r\n</details>"}}
{"actor":{"display_login":"apg1980"}}