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

Testing v1.6.0 RC1 on NC20.02 RC: Can not add date option #1244

Closed
brtptrs opened this issue Nov 16, 2020 · 6 comments
Closed

Testing v1.6.0 RC1 on NC20.02 RC: Can not add date option #1244

brtptrs opened this issue Nov 16, 2020 · 6 comments
Labels

Comments

@brtptrs
Copy link

brtptrs commented Nov 16, 2020

What is going wrong?

Describe the bug
Testing v1.6.0 RC1 on NC20.02 RC: I can not add a date option to a new poll.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new date poll
  2. Select a date+time
  3. Click "ok"

Expected behavior
Date option should be saved and allow to add one more

Information about your polls installation

V1.6.0 RC1

Fresh installation or update from a prior version (from which one)?
Upgrade from previous

How did you install this version?(Appstore or describe installation)
Download from Github and unzip in app folder
Install from gui. No errors shown

Information about your Instance of Nextcloud

Nextcloud version: NC20.02 RC

Firefox throws a js error:
"Uncaught (in promise) Error: Request failed with status code 500"

@dartcafe
Copy link
Collaborator

Do you have additionally information from the server log?

@dartcafe dartcafe added the bug label Nov 16, 2020
@brtptrs
Copy link
Author

brtptrs commented Nov 16, 2020

We are seeing a server error (500), apparently resulting from a db error.

image

error_polls_2020_11_16.txt

@dartcafe
Copy link
Collaborator

dartcafe commented Nov 16, 2020

If you are able to change db properties, make sure that the fields preferences and user_id of the table oc_polls_preferences have a default = '' configured.

I will check the migration.

@dartcafe
Copy link
Collaborator

But I am confused. This should not be connected to date polls. This is a general error, which may occur on many situations.

@brtptrs
Copy link
Author

brtptrs commented Nov 17, 2020

Setting the db properties solves the problem for me.
Thank you!

Regarding the "date poll" question. I have not tested text polls. That was just mentioned to state that I've only tested date polls.

Copy link

github-actions bot commented Jun 6, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants