[Mahara-contributors] [Bug 1574952] Re: Error with LEAP2A import

2016-07-19 Thread Son Nguyen
Hi Paul,

I got different errors when import you Leap2A files on my development
system (Ubuntu 12.04, Php5.3, Apache2.2, MySQL 5.5).

This issue may be related to Annotation artefact importing process. I
will fix this.

Thanks

Son

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

Title:
  Error with LEAP2A import

Status in Mahara:
  New

Bug description:
  I have a Mahara 15.10.1 installation running on php-5.3.5 and
  mysql-5.5.9 on a windows system  (its a demonstration/experimental
  system, not a production system)

  Creation of a user works OK.  I have had success with importing LEAP2A
  into an existing user.

  But I have another (larger) LEAP2A file which DOES NOT work, though
  the same LEAP2A file works find on a (Linux) production system.

  Partial error log of two scenarios are as follows ... suggestions
  welcome.

  Attempting to add user via LEAP2A import

  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] [WAR] 2a 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] , referer: 
http://localhost/mahara/admin/users/search.php

  
  User added manually, LEAP2A then attempted to be imported

  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] [WAR] 70 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] , refer

[Mahara-contributors] [Bug 1604601] A patch has been submitted for review

2016-07-19 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/6733

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

Title:
  Remove instances where "On" is still used instead of "Yes"

Status in Mahara:
  In Progress

Bug description:
  We changed most switchbox options to "Yes/No" rather than "On/Off" as
  there were action words involved that worked better with the "Yes/No"
  combination. However, the help text has yet to be updated in many
  places.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1604601/+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


[Mahara-contributors] [Bug 1604601] [NEW] Remove instances where "On" is still used instead of "Yes"

2016-07-19 Thread Kristina Hoeppner
Public bug reported:

We changed most switchbox options to "Yes/No" rather than "On/Off" as
there were action words involved that worked better with the "Yes/No"
combination. However, the help text has yet to be updated in many
places.

** Affects: mahara
 Importance: Medium
 Assignee: Kristina Hoeppner (kris-hoeppner)
 Status: In Progress

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

Title:
  Remove instances where "On" is still used instead of "Yes"

Status in Mahara:
  In Progress

Bug description:
  We changed most switchbox options to "Yes/No" rather than "On/Off" as
  there were action words involved that worked better with the "Yes/No"
  combination. However, the help text has yet to be updated in many
  places.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1604601/+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


[Mahara-contributors] [Bug 1279526] Re: Change default license text in Journal blocktypes

2016-07-19 Thread Kristina Hoeppner
** Tags added: usermanualupdate

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

Title:
  Change default license text in Journal blocktypes

Status in Mahara:
  Fix Committed

Bug description:
  When viewing a journal entry from a page (eg. by clicking on the title of a 
"Journal entry" block), if licenses are turned on and a license has not been 
selected the text "None selected" appears at the bottom of the page. However, 
there's no indication of context for this message - "None selected" could refer 
to anything.
  It should be made in some way more obvious what this means - the text could 
be hidden entirely if no license is selected, the text could be changed to 
something like "No license has been selected for this journal entry", or a 
"License: " label could be added.

  Affects latest master

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1279526/+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


[Mahara-contributors] [Bug 1598990] Re: Cannot instantiate abstract class PluginImport

2016-07-19 Thread Kristina Hoeppner
This sounds more like it as that would be involved in the Leap2A export
to Mahara.

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

Title:
  Cannot instantiate abstract class PluginImport

Status in Mahara:
  In Progress

Bug description:
  Mahara: 16.04.1
  OS: Linux
  DB: Postgres
  Browser: Firefox

  During the cron task run for core_import_process_queue, we are getting
  this error:

  PHP Fatal error:  Cannot instantiate abstract class PluginImport in
  /var/www/site-anu/import/lib.php on line 191

  The import_queue table has a few record with format = ''.

  It is trying to import leap2A data into Mahara from Moodle.

  The Moodle version is 2.7 which is using an older version of the
  submission plugin. But, that shouldn't matter.

  I think we need 2 things:

  1) Check that the format is correct in
  PluginImport::class_from_format(). If it's not correct, default it to
  leap.

  2) When the importer is created in import_process_queue(), it should
  be wrapped in the try/catch block.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1598990/+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


[Mahara-contributors] [Bug 1560131] Re: Mahara SAML auth broken with Simplesamlphp 1.14.x

2016-07-19 Thread kaefert
I can confirm that the patch works for mahara 15.10.2 with
simplesamlphp-1.14.6

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

Title:
  Mahara SAML auth broken with Simplesamlphp 1.14.x

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Won't Fix
Status in Mahara 16.04 series:
  Won't Fix
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  When attempting to use Mahara 15.10.1 on Ubuntu 14.04.4 with
  Simplesamlphp 1.14.x, I attempt to SSO login and get the error:

  PHP Fatal error:  Call to undefined method
  SimpleSAML_Session::getInstance() in
  /cluster/www/sites/secure.smus.ca/www/mahara/auth/saml/index.php on
  line 56

  This appears to be because the Simplesamlphp people removed the
  function call SimpleSAML_Session::getInstance() in version 1.14.0:

  https://simplesamlphp.org/docs/stable/simplesamlphp-upgrade-notes-1.14

  I looked at auth/saml/index.php and it doesn't look like there are too
  many times that $saml_session is used.  I'll see if I can figure out
  what to use in place of the $saml_session stuff.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1560131/+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


[Mahara-contributors] [Bug 1279526] Re: Change default license text in Journal blocktypes

2016-07-19 Thread Son Nguyen
** Changed in: mahara
   Status: In Progress => Fix Committed

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

Title:
  Change default license text in Journal blocktypes

Status in Mahara:
  Fix Committed

Bug description:
  When viewing a journal entry from a page (eg. by clicking on the title of a 
"Journal entry" block), if licenses are turned on and a license has not been 
selected the text "None selected" appears at the bottom of the page. However, 
there's no indication of context for this message - "None selected" could refer 
to anything.
  It should be made in some way more obvious what this means - the text could 
be hidden entirely if no license is selected, the text could be changed to 
something like "No license has been selected for this journal entry", or a 
"License: " label could be added.

  Affects latest master

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1279526/+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


[Mahara-contributors] [Bug 1279526] A change has been merged

2016-07-19 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/6411
Committed: 
https://git.mahara.org/mahara/mahara/commit/7943364a24575d39cb72b69f938926b57341261c
Submitter: Son Nguyen (son.ngu...@catalyst.net.nz)
Branch:master

commit 7943364a24575d39cb72b69f938926b57341261c
Author: Aaron Wells 
Date:   Thu Apr 28 12:30:46 2016 +1200

Clarify that "no license chosen" means default copyright

Bug 1279526

behatnotneeded: Covered by existing tests

Change-Id: Ifc707fe735e090a2756468e93bcdedd8cd80d7a7

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

Title:
  Change default license text in Journal blocktypes

Status in Mahara:
  Fix Committed

Bug description:
  When viewing a journal entry from a page (eg. by clicking on the title of a 
"Journal entry" block), if licenses are turned on and a license has not been 
selected the text "None selected" appears at the bottom of the page. However, 
there's no indication of context for this message - "None selected" could refer 
to anything.
  It should be made in some way more obvious what this means - the text could 
be hidden entirely if no license is selected, the text could be changed to 
something like "No license has been selected for this journal entry", or a 
"License: " label could be added.

  Affects latest master

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1279526/+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