#1974 closed defect (fixed)

wui: the "report an incident" feature doesn't submit incident reports

Reported by: leif Owned by: daira
Priority: normal Milestone: 1.10.1
Component: code-frontend-web Version: 1.10.0
Keywords: wui incident report Cc:
Launchpad Bug:

Description

In the web ui there is a section titled "Report an Incident" with a text input box labeled "What went wrong?" and a button labeled "Report". Upon entering text in the box and clicking report, it returns a page saying "Thank you for your report!".

It seems reasonable to assume that clicking this button has submitted a report to someone via the internet.

In fact, it has not. What it actually is doing is dumping an internal ring buffer of logs to a .flog.bz2 file in ~/.tahoe/logs/incidents/ which can be viewed using the tahoe @flogtool web-open command (or other flogtool commands). It might be useful to share this file with the developers, but no report is being automatically sent to them.

An easy fix would be to replace the "Report" button with a "Save" button, and replace the text "Report an Incident" with something like "Save an incident report".

A nicer improvement would be to make it possible to access the page rendered by flogtool web-open from directly within the wui, without needing to write the file to disk and open it via the commandline. (Perhaps a separate ticket should be opened for that.)

Related: #1936 (the tahoe-lafs logging system is hard to discover)

Change History (5)

comment:2 Changed at 2013-05-19T21:49:20Z by daira

  • Component changed from unknown to code-frontend-web
  • Keywords wui incident report review-needed added
  • Milestone changed from undecided to 1.11.0
  • Owner changed from davidsarah to daira
  • Status changed from new to assigned

Reviewing.

comment:3 Changed at 2013-05-19T21:50:58Z by daira

Reviewed and has tests, will commit.

comment:4 Changed at 2013-05-19T22:01:34Z by Leif Ryge <leif@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 30924a506ced5c1f06e034b4f1482217746255ca/trunk:

properly describe saving incident reports. closes #1974

comment:5 Changed at 2013-05-19T22:02:45Z by daira

  • Keywords review-needed removed
Note: See TracTickets for help on using tickets.