Closed Bug 1142441 Opened 11 years ago Closed 11 years ago

Helpee can not mark as solution a comment if keeping the (refreshing) question open.

Categories

(support.mozilla.org :: BuddyUp, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fredy, Assigned: rik)

References

Details

(Whiteboard: p=1 s=bu.2015.4)

Attachments

(1 external file)

Steps to reproduce: 1. Helpee asks a question and keeps the question thread open 2. Helper answer this question 3. Helpee is able to see helper's comment as the question thread is refreshed 4. Helpee press the button "Mark question as resolved" and gets the confirmation screen 5. Helpee press ok on the confirmation screen Actual results: Nothing happens, even if helpee goes back and enters again in the question thread, helper's comment is not marked as solved. However now (after back and forth) helpee can mark the comment as solution. Expected results: Helper's comment marked as solved.
I guess I forgot to attach event handlers to those buttons.
Whiteboard: p=1
Oh so it's not the event handlers being the problem here since the confirmation screen shows up. But I'm seeing that we're passing a "null" answer to the server. So we're probably not setting the right dataset.id in the DOM.
That was easy to fix :)
Assignee: nobody → anthony
Status: NEW → ASSIGNED
Attachment #8577240 - Flags: review?(rdalal)
Whiteboard: p=1 → p=1 s=bu.2015.4
Attachment #8577240 - Flags: review?(rdalal) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: needinfo?(hcondei)
Flags: needinfo?(fredy)
Status: RESOLVED → VERIFIED
Flags: needinfo?(fredy)
Flags: needinfo?(hcondei)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: