Automated response: Topic polls: is_private and is_closed not being set when forced; close time not being scheduled on topic validation
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.
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.