It would be nice if both the 'Field type for answer' and 'Field type for duration' were optional.

If 'Field type for answer' was "none" then the select list would not be added (useful if "best answer" is not wanted as a feature)

If 'Field type for duration' question would not expire.

CommentFileSizeAuthor
#3 qna-options.png12.74 KBAnonymous (not verified)

Comments

jcisio’s picture

I think "duration" is optional (if it is not, then it's a bug).

About best answer feature : how it could be optional, because it's the core feature?

nevets’s picture

Duration is not optional, it's required. And question/answer works as a useful module even without best answer (the request comes indirectly from a client who did not want the best answer part)

Anonymous’s picture

Category: bug » feature
StatusFileSize
new12.74 KB

I'm here, because I wondered what the duration is for and if it is required at all. Nevets, I agree, best answer is nice, but a question can have many answers and even many good among them. So it should be optional.

Expiration actually is optional already. It's disabled by setting to zero. This should be a configuration option (rather than requiring such a field, hiding it and setting it to zero). In config, it is required... (screenshot)

Anyway, this issue is at very low priority for me, too. Just because there are quite obvious workarounds and the simplicity of the module at the current state is appreciated (few space for failure).

Don't forget about #1505098: Undefined Index in question_answer.pages.inc with 7.x-1.x-dev to spare yourself the expiration field. It's in the current dev version only.

Anonymous’s picture

Category: feature » bug

In the code, to me it seems there is nothing about expiration done at all, as long as the Vote API module isn't installed.

There is a great need for clarification! Some have the Vote API, some don't, and just by accident it sometime regards the expiration or not. I tend to say (and correct my previous statement) this is a bug! Because you can't use the module reliably without reading the code and setting up fields manually. So, if it's not a bug, it's simply not production quality.

jcisio’s picture

Title: Some requested enhancements » Answer and duration fields should be optional
jcisio’s picture

Title: Answer and duration fields should be optional » Duration field should be optional
Category: feature » bug

Ok I revisit this issue and I agree that it is a bug that the expiration (duration field) is required. However, I don't see any reason that the answer field should be optional.

jcisio’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.