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

AIO: Can't share polls with other NC users #3808

Open
5 of 12 tasks
tthurow opened this issue Dec 18, 2024 · 1 comment
Open
5 of 12 tasks

AIO: Can't share polls with other NC users #3808

tthurow opened this issue Dec 18, 2024 · 1 comment

Comments

@tthurow
Copy link

tthurow commented Dec 18, 2024

⚠️ 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).
  • I agree to follow Nextcloud's Code of Conduct.

What went wrong, what did you observe?

If Polls is used under AIO, it is not possible to share polls with other users of the NC instance. However, if Polls is used under a natively created NC instance, sharing works. I have tested the effect with several instances.
Unfortunately, I can't tell much from the error message. My NC instances are all running in German, the error message reads: "Fehler beim Hinzufügen der Freigabe" (translated: Error adding the share).

[index] Fehler: OCA\Polls\Controller\ShareController::add(): Argument #2 ($type) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 208 in file '/var/www/html/custom_apps/polls/lib/Controller/ShareController.php' line 47
POST /apps/polls/poll/3/share

NC: 30.0.4
Polls: 8.0.0 - alpha6

What did you expect, how polls should behave instead?

I can share polls with other NC users

What steps does it need to replay this bug?

  1. Create a poll
  2. Share the poll with a other user of the NC Instance

The problem is only with AIO-NC-Instances!!!

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)

Affected polls version

8.0.0 - alpha6

Which browser did you use, when experiencing the bug?

  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know

Other browser

No response

Add your browser log here

Additional client environment information

No response

NC version

Nextcloud 30

Other Nextcloud version

No response

PHP engine version

PHP 8.3

Other PHP version

No response

Database engine

MySQL

Database Engine version or other Database

No response

Which user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know

Add your nextcloud server log here

Additional environment informations

No response

Configuration report

List of activated Apps

Nextcloud Signing status

Additional Information

No response

@tthurow tthurow added the bug label Dec 18, 2024
@dartcafe dartcafe added this to the 8.0 milestone Dec 20, 2024
@dartcafe
Copy link
Collaborator

Could you capture the request from the network-tab inside the browser console?

Should be a POST request with the url /apps/polls/poll/{pollId}/share. What is the request's payload?
Another information could be delivered from the result of the search request GET /apps/polls/search/users/{searchQuery}

If you post the payloads here make sure any personal data is masked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants