Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OCM implementation has wrong parameter names #36340

Closed
5 of 9 tasks
provokateurin opened this issue Jan 25, 2023 · 2 comments · Fixed by #50069
Closed
5 of 9 tasks

[Bug]: OCM implementation has wrong parameter names #36340

provokateurin opened this issue Jan 25, 2023 · 2 comments · Fixed by #50069
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: federation technical debt

Comments

@provokateurin
Copy link
Member

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

https://github.com/nextcloud/server/blob/master/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php#L115-L116 contains sharedBy and sharedByDisplayName, but neither is documented in the OCM spec (1.0 or latest). The spec contains sender and senderDisplayName so the variables names in the implementation are probably just wrong.

cc @schiessle

Steps to reproduce

Expected behavior

Correct implementation of the spec

Installation method

None

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

-

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@provokateurin provokateurin added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jan 25, 2023
@michielbdejong
Copy link
Contributor

@ArtificialOwl can I send you a PR that fixes this issue?

@provokateurin
Copy link
Member Author

@michielbdejong feel free to open a PR and tag the relevant people for a PR. You can also tag me in there as well.

michielbdejong added a commit to michielbdejong/server that referenced this issue Jan 7, 2025
Signed-off-by: Michiel de Jong <michiel@pondersource.com>
michielbdejong added a commit to michielbdejong/server that referenced this issue Jan 7, 2025


Signed-off-by: Michiel de Jong <michiel@pondersource.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: federation technical debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants