{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/9152","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/9152/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/9152/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/9152/events","html_url":"https://github.com/nextcloud/server/issues/9152","id":313442300,"node_id":"MDU6SXNzdWUzMTM0NDIzMDA=","number":9152,"title":"Problem renaming folders","user":{"login":"jar361","id":16687491,"node_id":"MDQ6VXNlcjE2Njg3NDkx","avatar_url":"https://avatars1.githubusercontent.com/u/16687491?v=4","gravatar_id":"","url":"https://api.github.com/users/jar361","html_url":"https://github.com/jar361","followers_url":"https://api.github.com/users/jar361/followers","following_url":"https://api.github.com/users/jar361/following{/other_user}","gists_url":"https://api.github.com/users/jar361/gists{/gist_id}","starred_url":"https://api.github.com/users/jar361/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jar361/subscriptions","organizations_url":"https://api.github.com/users/jar361/orgs","repos_url":"https://api.github.com/users/jar361/repos","events_url":"https://api.github.com/users/jar361/events{/privacy}","received_events_url":"https://api.github.com/users/jar361/received_events","type":"User","site_admin":false},"labels":[{"id":969213366,"node_id":"MDU6TGFiZWw5NjkyMTMzNjY=","url":"https://api.github.com/repos/nextcloud/server/labels/stale","name":"stale","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-11T18:42:52Z","updated_at":"2018-07-05T01:00:50Z","closed_at":"2018-07-05T01:00:50Z","author_association":"NONE","body":"<!--\r\nThanks for reporting issues back to Nextcloud! This is the issue tracker of Nextcloud, if you have any support question please check out https://nextcloud.com/support\r\n\r\nThis is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/\r\n\r\nFor reporting potential security issues please see https://nextcloud.com/security/\r\n\r\nTo make it possible for us to help you please fill out below information carefully. \r\nYou can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate\r\n\r\nIf you are a customer, please submit your issue directly in the Nextcloud Portal https://portal.nextcloud.com so it gets resolved more quickly by our dedicated engineers.\r\n\r\nNote that Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.\r\n--> \r\n### Steps to reproduce\r\n1. Rename \"2018 test\" folder in NextCloud Web UI to new name \"Testing\"\r\n2. Get error message \"Could not rename 2018 test in Web UI\r\n3. New folder \"Testing\" was created\r\n4. \"2018 test\" still exist\r\n5. Get the following in the nextcloud logs:\r\nException: {\"Exception\":\"InvalidArgumentException\",\"Message\":\"Found 1 error while validating the input provided for the DeleteObjects operation:\\n[Delete] is missing and is a required parameter\",\"Code\":0,\"Trace\":\"#0\r\n\r\n### Expected behaviour\r\nFolder get rename from \"2018 test\" to \"Testing\"\r\n\r\n### Actual behaviour\r\n1. Rename \"2018 test\" folder in NextCloud Web UI to new name \"Testing\"\r\n2. Get error message \"Could not rename 2018 test in Web UI\r\n3. New folder \"Testing\" was created\r\n4. \"2018 test\" still exist\r\n5. Get the following in the nextcloud logs:\r\nException: {\"Exception\":\"InvalidArgumentException\",\"Message\":\"Found 1 error while validating the input provided for the DeleteObjects operation:\\n[Delete] is missing and is a required parameter\",\"Code\":0,\"Trace\":\"#0\r\n\r\n### Server configuration\r\n\r\n**Operating system**: Ubuntu 14.04 LTS\r\n\r\n**Web server:** Apache2.4.7\r\n\r\n**Database:** mysql\r\n\r\n**PHP version:** php7\r\n\r\n**Nextcloud version:** (see Nextcloud admin page) 12.0.5\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:** from 12.0.2\r\n\r\n**Where did you install Nextcloud from:**\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nLogin as admin user into your Nextcloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\nNo errors have been found.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\nEnabled:\r\n  - activity: 2.5.2\r\n  - bruteforcesettings: 1.0.3\r\n  - calendar: 1.5.7\r\n  - dav: 1.3.1\r\n  - federatedfilesharing: 1.2.0\r\n  - federation: 1.2.0\r\n  - files: 1.7.2\r\n  - files_external: 1.3.0\r\n  - files_sharing: 1.4.0\r\n  - files_texteditor: 2.4.1\r\n  - files_trashbin: 1.2.0\r\n  - files_versions: 1.5.0\r\n  - files_videoplayer: 1.1.0\r\n  - firstrunwizard: 2.1\r\n  - gallery: 17.0.0\r\n  - logreader: 2.0.0\r\n  - lookup_server_connector: 1.0.0\r\n  - nextcloud_announcements: 1.1\r\n  - oauth2: 1.0.5\r\n  - password_policy: 1.2.2\r\n  - provisioning_api: 1.2.0\r\n  - serverinfo: 1.2.0\r\n  - systemtags: 1.2.0\r\n  - theming: 1.3.0\r\n  - twofactor_backupcodes: 1.1.1\r\n  - updatenotification: 1.2.0\r\n  - user_external: 0.4\r\n  - user_ldap: 1.2.1\r\n  - workflowengine: 1.2.0\r\nDisabled:\r\n  - admin_audit\r\n  - comments\r\n  - encryption\r\n  - files_pdfviewer\r\n  - notifications\r\n  - sharebymail\r\n  - survey_client\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ app:list\r\nfrom within your Nextcloud installation folder\r\n```\r\n</details>\r\n\r\n**Nextcloud configuration:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ config:list system\r\nfrom within your Nextcloud installation folder\r\n\r\nor \r\n\r\nInsert your config.php content here. \r\nMake sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'instanceid',\r\n  'passwordsalt' => 'pwsalt',\r\n  'secret' => 'my secret',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'cloud.powerhrg.com',\r\n  ),\r\n  'datadirectory' => '/var/www/nextcloud/data',\r\n  'overwrite.cli.url' => 'https://cloud.powerhrg.com',\r\n  'dbtype' => 'mysql',\r\n  'version' => '12.0.5.3',\r\n  'dbname' => 'dbname',\r\n  'dbhost' => 'db.host.com',\r\n  'dbport' => '',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'dbuser',\r\n  'dbpassword' => 'dbpassword',\r\n  'logtimezone' => 'UTC',\r\n  'installed' => true,\r\n  'ldapIgnoreNamingRules' => false,\r\n  'ldapProviderFactory' => '\\\\OCA\\\\User_LDAP\\\\LDAPProviderFactory',\r\n  'mail_smtpmode' => 'smtp',\r\n  'mail_from_address' => 'mailAddress',\r\n  'mail_domain' => 'mailDomain',\r\n  'objectstore' =>\r\n  array (\r\n    'class' => 'OC\\\\Files\\\\ObjectStore\\\\S3',\r\n    'arguments' =>\r\n    array (\r\n      'bucket' => 'nextcloud-default',\r\n      'autocreate' => false,\r\n      'key' => 'my key',\r\n      'secret' => 'my secret',\r\n      'hostname' => 's3 hostname',\r\n      'use_ssl' => true,\r\n      'use_path_style' => true,\r\n    ),\r\n  ),\r\n  'loglevel' => 1,\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.distributed' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'redis' =>\r\n  array(\r\n    'host' => 'redishost',\r\n    'port' => '13764',\r\n  ),\r\n  'versions_retention_obligation' => 'auto',\r\n  'logfile' => '/var/log/nextcloud.log',\r\n  'updater.release.channel' => 'production',\r\n  'mail_smtpsecure' => 'tls',\r\n  'mail_smtpauthtype' => 'LOGIN',\r\n  'mail_smtpauth' => 1,\r\n  'mail_smtphost' => 'my mail server',\r\n  'mail_smtpport' => '587',\r\n  'mail_smtpname' => 'smtpname',\r\n  'mail_smtppassword' => 'my password',\r\n  'tempdirectory' => '/data/mnt/nitrocloud_tmp/cache',\r\n  'updatechecker' => false,\r\n);\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nyes. S3 NetApp StorageGrid 10.4\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\nLDAP\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n<details>\r\n<summary>LDAP config</summary>\r\n\r\n```\r\nWith access to your command line run e.g.:\r\nsudo -u www-data php occ ldap:show-config\r\nfrom within your Nextcloud installation folder\r\n\r\n| Configuration                 | s01                                                |\r\n+-------------------------------+----------------------------------------------------+\r\n| hasMemberOfFilterSupport      | 1                                                  |\r\n| hasPagedResultSupport         |                                                    |\r\n| homeFolderNamingRule          |                                                    |\r\n| lastJpegPhotoLookup           | 0                                                  |\r\n| ldapAgentName                 | cn=agentName                     |\r\n| ldapAgentPassword             | ***                                                |\r\n| ldapAttributesForGroupSearch  |                                                    |\r\n| ldapAttributesForUserSearch   | uid                                                |\r\n| ldapBackupHost                |                                                    |\r\n| ldapBackupPort                |                                                    |\r\n| ldapBase                      | dc=base                                 |\r\n| ldapBaseGroups                | ou=groupsDN                       |\r\n| ldapBaseUsers                 | ou=usersDN                        |\r\n| ldapCacheTTL                  | 600                                                |\r\n| ldapConfigurationActive       | 1                                                  |\r\n| ldapDefaultPPolicyDN          |                                                    |\r\n| ldapDynamicGroupMemberURL     |                                                    |\r\n| ldapEmailAttribute            | mail                                               |\r\n| ldapExperiencedAdmin          | 1                                                  |\r\n| ldapExpertUUIDGroupAttr       |                                                    |\r\n| ldapExpertUUIDUserAttr        |                                                    |\r\n| ldapExpertUsernameAttr        |                                                    |\r\n| ldapGidNumber                 | gidNumber                                          |\r\n| ldapGroupDisplayName          | cn                                                 |\r\n| ldapGroupFilter               | (&(objectclass=posixGroup))                        |\r\n| ldapGroupFilterGroups         |                                                    |\r\n| ldapGroupFilterMode           | 0                                                  |\r\n| ldapGroupFilterObjectclass    | posixGroup                                         |\r\n| ldapGroupMemberAssocAttr      | memberUid                                          |\r\n| ldapHost                      | ldaphost                                  |\r\n| ldapIgnoreNamingRules         |                                                    |\r\n| ldapLoginFilter               | (&(objectclass=posixAccount)(uid=%uid))            |\r\n| ldapLoginFilterAttributes     |                                                    |\r\n| ldapLoginFilterEmail          | 0                                                  |\r\n| ldapLoginFilterMode           | 1                                                  |\r\n| ldapLoginFilterUsername       | 1                                                  |\r\n| ldapNestedGroups              | 0                                                  |\r\n| ldapOverrideMainServer        |                                                    |\r\n| ldapPagingSize                | 500                                                |\r\n| ldapPort                      | 389                                                |\r\n| ldapQuotaAttribute            |                                                    |\r\n| ldapQuotaDefault              |                                                    |\r\n| ldapTLS                       | 0                                                  |\r\n| ldapUserDisplayName           | displayName                                        |\r\n| ldapUserDisplayName2          |                                                    |\r\n| ldapUserFilter                | (&(objectclass=posixAccount)(mail=mailFilter)) |\r\n| ldapUserFilterGroups          |                                                    |\r\n| ldapUserFilterMode            | 1                                                  |\r\n| ldapUserFilterObjectclass     | posixAccount                                       |\r\n| ldapUuidGroupAttribute        | auto                                               |\r\n| ldapUuidUserAttribute         | auto                                               |\r\n| turnOffCertCheck              | 0                                                  |\r\n| turnOnPasswordChange          | 0                                                  |\r\n| useMemberOfToDetectMembership | 0\r\n\r\nWithout access to your command line download the data/owncloud.db to your local\r\ncomputer or access your SQL server remotely and run the select query:\r\nSELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';\r\n\r\n\r\nEventually replace sensitive data as the name/IP-address of your LDAP server or groups.\r\n```\r\n</details>\r\n\r\n### Client configuration\r\n**Browser:**\r\nChrome Version 65.0.3325.181\r\nFirefox 59.0.4(64bit)\r\n\r\n**Operating system:** OS X 10.13.4\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\n\r\n```\r\nInsert your webserver log here\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\n```\r\nException: {\"Exception\":\"InvalidArgumentException\",\"Message\":\"Found 1 error while validating the input provided for the DeleteObjects operation:\\n[Delete] is missing and is a required parameter\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/Middleware.php(79): Aws\\\\Api\\\\Validator->validate('DeleteObjects', Object(Aws\\\\Api\\\\StructureShape), Array)\\n#1 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/S3\\/S3Client.php(421): Aws\\\\Middleware::Aws\\\\{closure}(*** sensitive parameters replaced ***)\\n#2 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/S3\\/S3Client.php(444): Aws\\\\S3\\\\S3Client::Aws\\\\S3\\\\{closure}(*** sensitive parameters replaced ***)\\n#3 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/S3\\/S3Client.php(378): Aws\\\\S3\\\\S3Client::Aws\\\\S3\\\\{closure}(*** sensitive parameters replaced ***)\\n#4 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/S3\\/S3Client.php(397): Aws\\\\S3\\\\S3Client::Aws\\\\S3\\\\{closure}(*** sensitive parameters replaced ***)\\n#5 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/Middleware.php(55): Aws\\\\S3\\\\S3Client::Aws\\\\S3\\\\{closure}(*** sensitive parameters replaced ***)\\n#6 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/S3\\/SSECMiddleware.php(59): Aws\\\\Middleware::Aws\\\\{closure}(*** sensitive parameters replaced ***)\\n#7 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/IdempotencyTokenMiddleware.php(77): Aws\\\\S3\\\\SSECMiddleware->__invoke(Object(Aws\\\\Command), NULL)\\n#8 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/AwsClientTrait.php(65): Aws\\\\IdempotencyTokenMiddleware->__invoke(Object(Aws\\\\Command))\\n#9 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/AwsClientTrait.php(59): Aws\\\\AwsClient->executeAsync(Object(Aws\\\\Command))\\n#10 \\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/AwsClientTrait.php(78): Aws\\\\AwsClient->execute(Object(Aws\\\\Command))\\n#11 \\/var\\/www\\/nextcloud\\/apps\\/files_external\\/lib\\/Lib\\/Storage\\/AmazonS3.php(255): Aws\\\\AwsClient->__call('deleteObjects', Array)\\n#12 \\/var\\/www\\/nextcloud\\/apps\\/files_external\\/lib\\/Lib\\/Storage\\/AmazonS3.php(224): OCA\\\\Files_External\\\\Lib\\\\Storage\\\\AmazonS3->batchDelete('2018 test')\\n#13 \\/var\\/www\\/nextcloud\\/apps\\/files_external\\/lib\\/Lib\\/Storage\\/AmazonS3.php(561): OCA\\\\Files_External\\\\Lib\\\\Storage\\\\AmazonS3->rmdir('2018 test')\\n#14 \\/var\\/www\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Wrapper.php(272): OCA\\\\Files_External\\\\Lib\\\\Storage\\\\AmazonS3->rename('2018 test', 'Testing')\\n#15 \\/var\\/www\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Wrapper\\/Availability.php(296): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->rename('2018 test', 'Testing')\\n#16 \\/var\\/www\\/nextcloud\\/apps\\/files_trashbin\\/lib\\/Storage.php(141): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->rename('2018 test', 'Testing')\\n#17 \\/var\\/www\\/nextcloud\\/lib\\/private\\/Files\\/View.php(817): OCA\\\\Files_Trashbin\\\\Storage->rename('2018 test', 'Testing')\\n#18 \\/var\\/www\\/nextcloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Node.php(137): OC\\\\Files\\\\View->rename('\\/Power Video\\/20...', '\\/Power Video\\/Te...')\\n#19 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Tree.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Node->setName('Testing')\\n#20 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(642): Sabre\\\\DAV\\\\Tree->move('Power Video\\/201...', 'Power Video\\/Tes...')\\n#21 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#22 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#23 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#24 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#25 \\/var\\/www\\/nextcloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(76): Sabre\\\\DAV\\\\Server->exec()\\n#26 \\/var\\/www\\/nextcloud\\/remote.php(162): require_once('\\/var\\/www\\/nextcl...')\\n#27 {main}\",\"File\":\"\\/var\\/www\\/nextcloud\\/3rdparty\\/aws\\/aws-sdk-php\\/src\\/Api\\/Validator.php\",\"Line\":65}\r\n```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\n\r\n```\r\nInsert your browser log here, this could for example include:\r\n\r\na) The javascript console log\r\nb) The network log\r\nc) ...\r\n```\r\n</details>\r\n"}}
{"actor":{"display_login":"nextcloud-bot"}}