← Back to team overview

mahara-contributors team mailing list archive

[Bug 1262928] Re: Add users by CSV - enforce browse for file button only accepts csv files

 

It worked in these browsers:
- Chrome Version 38.0.2125.101 (64-bit),
- Chromium Version 37.0.2062.94 running on Ubuntu 14.04
- IE 11 on Win7
- IE 10 on Win7
And the following browsers did not work which was expected (not all browsers support that attribute yet) :
- Firefox version 32
- IE 9 on win7
- IE 9 on win7.1

How to Test:

1. Log in as admin
2. Go to Administration → Users → Add users by CSV
3. Click on Browse... → A file selector window with only CSV file showing should be showing → Passed
4. Go to Groups → Add groups by CSV
5. Click on Browse... → A pop-up window with only CSV file showing should be showing → Passed
6. Go to Update group members by CSV
7. Click on Browse... → A pop-up window with only CSV file showing should be showing → Passed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1262928

Title:
  Add users by CSV - enforce browse for file button only accepts csv
  files

Status in Mahara ePortfolio:
  In Progress

Bug description:
  As an admin I want to add some users by csv - When I CLICK the choose
  file button I see all of my file types in my newly opened window.
  What would be nice is for the user to only see and be allowed to load
  csv files.  I had thought of this when I was trying to upload a csv
  file using my ipad which only gave me the option to upload an image or
  video.

  I think this is an easy fix by using the ACCEPT attribute for the
  input tag for example <input type="file" accept="text/csv" />

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1262928/+subscriptions


References