#6223 - Topic polls appear closed when a date is specified even if in the future
| Identifier | #6223 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Topic polls appear closed when a date is specified even if in the future |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta7 |
| Addon | core_cns |
| Description | Polls seem to be closed when a date is specified (tested as forced by forum), even when the date is in the future. |
| Steps to reproduce | |
| Related to | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
The is_private and is_open issue was due to an internal type error where we were trying to save a boolean value to the database where we should have been saving a BINARY value.
The schedule issue was not implemented yet. Now, when creating a topic with a poll that has forced closing hours, if the topic will not be validated initially, the poll will not have a closing time. And when the topic gets validated, the poll's closing time will get set accordingly (e.g. time the topic was validated + forced number of hours the poll should be open according to default poll configuration for the forum).
So instead of a 1-week poll closing 1 week after a not validated topic is created, it will not close until 1 week after the topic actually gets validated.