nextcloud / nextcloud/server

[Bug]: Litmus 0.14 not passing depending on WebDAV endpoint

Open
#39,625 5 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

0. Needs triage CI feature: dav technical debt tests
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

We currently only test against litmus 0.13, but https://github.com/notroj/litmus/commit/4a6c2775cc06bd0977779ee53ab9dfbeef8bd5fb introduced a new check which breaks our litmus-v1 but not our litmus-v2 tests. There has to be some inconsistency in the error handling between the used WebDAV endpoints.

Steps to reproduce
  1. Use litmus 0.14
  2. Run make URL="http://localhost/remote.php/webdav" CREDS="admin admin" TESTS="basic" check
  3. Run make URL="http://localhost/remote.php/dav/files/admin" CREDS="admin admin" TESTS="basic" check
Expected behavior

Both test runs should pass, but the second one fails with 5. put_no_parent......... FAIL (PUT with missing intermediate collection gave 404, MUST be 409 [RFC4918:S9.7.1]) while the first one passes that test successfully.

Installation method

None

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.