-
Notifications
You must be signed in to change notification settings - Fork 72
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
Polls do not load after upgrade to 7.0.0 #3393
Comments
The changes below fix the issue for me.
|
#!/bin/bash Define file pathsPOLL_MAPPER_FILE="./PollMapper.php" Create backupscp "$POLL_MAPPER_FILE" "${POLL_MAPPER_FILE}.bak" cp "$PREFERENCES_FILE" "${PREFERENCES_FILE}.bak" Apply changes to PollMapper.phpsed -i '/$qb->groupBy(self::TABLE . \x27.id\x27);/a \ $qb->addGroupBy(\x27shares.type\x27);\n $qb->addGroupBy(\x27shares.locked\x27);' "$POLL_MAPPER_FILE" Apply changes to Preferences.phpsed -i "s/return json_decode($this->getPreferences());/return json_decode($this->getPreferences() ?: '');/" "$PREFERENCES_FILE" echo "Script execution completed." you can try this script to implement the bugfix |
Ah. Don't care. I noticed a simple unit test was missing for recognizing this error in the CI process. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What went wrong, what did you observe?
After upgrading the polls app, polls do not load.
What did you expect, how polls should behave instead?
The polls should load
What steps does it need to replay this bug?
Installation method
Installed/updated from the appstore (Apps section of your site)
Installation type
Updated from previous major version (i.e. 3.x.x to 4.x.x)
Affected polls version
7.0.0
Which browser did you use, when experiencing the bug?
Other browser
No response
Add your browser log here
No response
Additional client environment information
No response
NC version
Nextcloud 28
Other Nextcloud version
No response
PHP engine version
PHP 8.2
Other PHP version
No response
Database engine
PostgreSQL
Database Engine version or other Database
No response
Which user-backends are you using?
Add your nextcloud server log here
Additional environment informations
No response
Configuration report
List of activated Apps
Nextcloud Signing status
Additional Information
No response
The text was updated successfully, but these errors were encountered: