← Back to team overview

mahara-contributors team mailing list archive

[Bug 1057878] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1740
Committed: http://gitorious.org/mahara/mahara/commit/c73233ef7b65ef165fc7c642fdbec67f135c0325
Submitter: Hugh Davenport (hugh@xxxxxxxxxxxxxxx)
Branch:    master

commit c73233ef7b65ef165fc7c642fdbec67f135c0325
Author: Melissa Draper <melissa@xxxxxxxxxxxxxxx>
Date:   Sat Sep 29 01:17:47 2012 +1200

    Fix regression with mobile upload token (Bug #1057878)
    
    New users were getting a token of "Array" set by default
    when their settings were populated. It was useless.
    
    Tokens were not being updated on the website. This was
    due to changes in the api which required the old token
    be passed when refreshing happened, and it was not
    being passed in the json reply.
    
    Change-Id: Ie8425e439b0b59134825c7922cfa887e7ad49c8b
    Signed-off-by: Melissa Draper <melissa@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1057878

Title:
  maharadroid token doesn't reset, new users get token of "array"

Status in Mahara ePortfolio:
  In Progress

Bug description:
  There is a problem with the maharadroid token setting when testing
  mahara.dev.

  After setting maharadroid up and uploading a first image successfully,
  uploading a second image fails. On investigation I noted that the
  token never changed on the website.

  So I made a new user on the website to investigate if it was problems
  with the existing user's settings, and the new user's token field had
  a default of "array" in it.

  This is dangerous -- it would make anyone's token actually be the word
  "array" if they saved their settings page for any reason.

  Mahara: 1.6/master
  Maharadroid: 1.8, from play store on Sept 28th 2012

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