#1902 assigned defect

WUI: "Download a file" should error on directory — at Version 3

Reported by: zooko Owned by:
Priority: normal Milestone: soon
Component: code-frontend-web Version: 1.9.2
Keywords: usability LeastAuthority.com wui Cc:
Launchpad Bug:

Description (last modified by Lcstyle)

I just took a call from a customer (TV) who was confused because they were trying to "Download a file" in the WUI, and they mistakenly had a directory cap when they thought they had a file cap, and when they clicked "Download!" in the WUI it was taking them to a directory listing page in the WUI. After they and I figured out what was going on, they agreed with me when I said that the "Download a file" box in the WUI should give an error if you use a directory URI in it. (There is a "View File or Directory" box if you want to view a directory.)

To close this ticket, make it so that the "Download a file" box gives an error page if the user provided a directory cap instead of a file cap.

Change History (3)

comment:1 Changed at 2013-01-05T03:07:39Z by davidsarah

If we had JavaScript in the WUI, we could disable the Download! button unless the input is a syntactically valid filecap (or unless JS is disabled). We should make it give an error for now, though.

Last edited at 2013-01-05T03:09:53Z by davidsarah (previous) (diff)

comment:2 Changed at 2013-01-05T03:09:20Z by davidsarah

The error page could also include a View! button so that you don't have to go back in order to click View!, if that's what you intended.

comment:3 Changed at 2014-09-27T02:06:29Z by Lcstyle

  • Description modified (diff)

This sounds like an ideal next ticket for me, can someone assign it to me?

Note: See TracTickets for help on using tickets.