← Back to team overview

mahara-contributors team mailing list archive

[Bug 1843537] Re: CSV-Upload Users

 

Hi All,

In order to get a correct redirect, the redirect had to be changed in the form->reply function on line 654:
'goto'     => '/admin/users/uploadcsv.php',
changed to:  
'goto'     => get_config('wwwroot').'admin/users/uploadcsv.php',

ln 499 refers to a redirect for when an admin attempts to add more than
the maximum users allowed into an institution via upload of csv file.  I
tested this also but uncovered a bug affecting both instances of mahara
in subdirectories and those not in sudirectories where the application
hangs and the progress bar attempts to update the progress continuously
until a refresh of the page.  This issue was addressed in a patch that
changed that redirect to a form-> reply with PIEFORM_ERR code.

-- 
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/1843537

Title:
  CSV-Upload Users

Status in Mahara:
  Triaged
Status in Mahara 18.10 series:
  Triaged
Status in Mahara 19.04 series:
  Triaged
Status in Mahara 19.10 series:
  Triaged

Bug description:
  Greetings from germany.

  When we upload users via CSV and Mahara is installed in a subdirectory (https://dns/mahara
  The users were created but the redirect of the pages goes to https://dns/admin/users/uploadcsv.php

  Is there a bug like in filepicker.

  Thanks
  Jochen

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


References