Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Q+A (Commons Answers)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Sep 2013 at 16:56 UTC
Updated:
26 Mar 2014 at 16:41 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
WebSinPat commentedI agree. Ran into the 2nd issue mentioned and felt it was confusing to have a button to click "answer" right above the answer form that I would be filling out if I wanted to provide an answer.
Comment #2
ezra-g commentedHopefully we can triage this in Commons 3.9. Thank for the bug report and feedback, japerry & WebSinPat!
Comment #3
japerryHere is a patch that cleans up that link a little and adds node_access. In theory, anon users could still answer the question, but only if a site owner allowed anonymous users to post answer content (not default, and definitely not recommended!)
Comment #4
japerryThis patch is a little more indepth with the button and answer text.
Comment #5
WebSinPat commentedPatch in #4 is looking good so far.
However it doesnt seem to address the 2nd issue in the OP that the Answer button appears even when there are no answer yet and it's right on top of the answer form itself. Think we need a check to see if any answers already exist in commons_q_a_node_view, before displaying the answer link.
Also, perchance is this a good time for a fresh request to have the answer link and answer summary info appear in the browsing-widget when viewing the teaser for a question?
Comment #6
japerryAfter looking at the display, I don't think we need to worry about the second use case here. Committing the changes we have and we'll probably re-visit this if we start re-designing the Q/A module.
Fixed here! http://drupalcode.org/project/commons.git/commit/71cf918