** Changed in: mahara/1.10
    Milestone: 1.10.6 => 1.10.7

** Changed in: mahara/1.9
    Milestone: 1.9.8 => 1.9.9

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

Title:
  Warning in Mahara logs when a MaharaDroid user has no tags in their
  Mahara account

Status in Mahara:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  This is a bug in the Mahara PHP code which interfaces with the
  MaharaDroid android app. See
  https://github.com/MaharaProject/maharadroid/issues/6 for the
  MaharaDroid side of this bug.

  To replicate:

  1. Create a new Mahara account
  2. Connect it to MaharaDroid
  3. Try to upload a file via MaharaDroid

  Result: You see this warning in the Apache logs:

  
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] [WAR] 88 
(api/mobile/sync.php:77) Invalid argument supplied for foreach()
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] Call stack (most 
recent first):
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * 
log_message("Invalid argument supplied for foreach()", 8, true, true, 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77) at 
/home/demo/code/mahara/htdocs/lib/errors.php:430
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * error(2, "Invalid 
argument supplied for foreach()", 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77, array(size 59)) at 
/home/demo/code/mahara/htdocs/api/mobile/sync.php:77
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88]

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to