#1902 assigned defect

WUI: "Download a file" should error on directory

Reported by: zooko Owned by: Lcstyle
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 (10)

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?

comment:4 Changed at 2014-09-27T02:28:36Z by Lcstyle

  • Owner set to Lcstyle
  • Status changed from new to assigned

comment:5 Changed at 2014-09-27T03:16:34Z by Lcstyle

  • Milestone changed from undecided to 1.11.0

comment:6 Changed at 2014-09-27T13:46:02Z by daira

  • Milestone changed from 1.11.0 to 1.12.0

comment:7 Changed at 2016-03-22T05:02:25Z by warner

  • Milestone changed from 1.12.0 to 1.13.0

Milestone renamed

comment:8 Changed at 2016-06-28T18:17:14Z by warner

  • Milestone changed from 1.13.0 to 1.14.0

renaming milestone

comment:9 Changed at 2020-06-30T14:45:13Z by exarkun

  • Milestone changed from 1.14.0 to 1.15.0

Moving open issues out of closed milestones.

comment:10 Changed at 2021-03-30T18:40:19Z by meejah

  • Milestone changed from 1.15.0 to soon

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.