Merge pull request #3908 from nextcloud/bugfix/fix-folder-creation-issues

Fix folder creation issues.
This commit is contained in:
allexzander 2021-10-21 00:11:14 +03:00 committed by GitHub
commit 33cb02e416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,8 +138,8 @@ void PropagateRemoteMkdir::finalizeMkColJob(QNetworkReply::NetworkError err, con
}
propagator()->_activeJobList.append(this);
auto propfindJob = new PropfindJob(_job->account(), _job->path(), this);
propfindJob->setProperties({ "oc:permissions" });
auto propfindJob = new PropfindJob(propagator()->account(), jobPath, this);
propfindJob->setProperties({"http://owncloud.org/ns:permissions"});
connect(propfindJob, &PropfindJob::result, this, [this, jobPath](const QVariantMap &result){
propagator()->_activeJobList.removeOne(this);
_item->_remotePerm = RemotePermissions::fromServerString(result.value(QStringLiteral("permissions")).toString());