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

Create poll with expire date not possible and Doctrine\DBAL\Exception\DriverException #14099

Closed
captainjoh opened this issue Feb 7, 2019 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@captainjoh
Copy link

Steps to reproduce

  1. Input of new poll
  2. Insert expire date and time via dropdown list
  3. Press create poll button

Expected behaviour

Sucessful created poll.

Actual behaviour

Enless loop and if you go to the logs you can see the following:

| Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO oc_polls_events(title,description,type,is_anonymous,full_anonymous,allow_maybe,access,expire,owner,created,hash) VALUES(?,?,?,?,?,?,?,?,?,?,?)' with params ["Testpoll", "", 1, 0, 0, 0, "public", "2019-02-07T23:15:00.000Z", "user1", "2019-02-07 20:06:47", "YEpMhVUVVT2wWEA7"]: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2019-02-07T23:15:00.000Z' for column 'expire' at row 1
-- | --

Server configuration

Operating system:
Ubuntu 18.04 LTS
Web server:
Apache2
Database:
SQL
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
14.07
Updated from an older Nextcloud/ownCloud or fresh install:
updated
Where did you install Nextcloud from:
Community Image
Signing status:
A

@captainjoh captainjoh added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 7, 2019
@herrmannsdorfer
Copy link

Wrong repo? Sounds like a duplicate of nextcloud/polls#461 ...

@captainjoh
Copy link
Author

Yes seems so. Didn't see this duplicate

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 bug
Projects
None yet
Development

No branches or pull requests

2 participants