[Mahara-contributors] [Bug 805310] Re: Fix typo bug in generic export class

2011-07-03 Thread Darryl Hamilton
https://reviews.mahara.org/433

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

Title:
  Fix typo bug in generic export class

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The generic export class has a typo that may be causing some issues,
  specifically if the export is passed artefacts of type ArtefactType.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805310/+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 697837] Re: Reordering tabs in "Edit Content" of a view

2011-07-03 Thread Hugh Davenport
https://reviews.mahara.org/434

** Changed in: mahara
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  Reordering tabs in "Edit Content" of a view

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The current order of the tabs in "Edit Content" is alphabetical
  starting now with "External feeds" as blogs became journals. I'd order
  them according to importance instead because most people will not
  include external feeds as their first things, but rather either files
  or journals.

  Thus, I propose the following order:
  Files... - Journals - General - Profile - Resumé - External feeds

  (Mahara 1.4 master.dev)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/697837/+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 794490] Re: Cron is not running

2011-07-03 Thread François Marier
Hi Iñaki,

I've just pushed a  fix for this against 1.3_STABLE:

  https://reviews.mahara.org/432

Are you able to test that patch and confirm that it solves your problem?

Cheers,
Francois

** Changed in: mahara/1.3
 Assignee: (unassigned) => François Marier (fmarier)

** Changed in: mahara/1.3
   Status: Confirmed => In Progress

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

Title:
  Cron is not running

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.3 series:
  In Progress

Bug description:
  Mahara v1.4rc3
  Linux 2.6.26-2
  PHP 5.2.6
  Apache-Server 2.2.9
  postgresql-Server 8.4

  I was trying to setup the cronjob for mahara explained like in the
  wiki:
  https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Cron_Job.
  But it do not work.

  See the entry in the /etc/crontab:
   */5 * * * * www-data php -c /etc/php5/apache2/php.ini 
/data/srv/www/mahara/lib/cron.php >> /var/log/mahara/cron.log 2>&1

  and the output of log-file in /var/log/mahara/cron.log:
  "A nonrecoverable error occured. This probably means you have encountered a 
bug in the system[WAR] 1f (lib/web.php:2291) redirect() should be called with 
either /[something] for local redirects or http[something] for absolute 
redirects
  Call stack (most recent first):
* redirect("ar/www/mahara/lib/cron.php") at /var/www/mahara/init.php:192
* require("/var/www/mahara/init.php") at /var/www/mahara/lib/cron.php:33

  A nonrecoverable error occured. This probably means you have
  encountered a bug in the system".

  Has anybody an idea?

  Thanx,
  michael wuttke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/794490/+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 805310] [NEW] Fix typo bug in generic export class

2011-07-03 Thread Darryl Hamilton
Public bug reported:

The generic export class has a typo that may be causing some issues,
specifically if the export is passed artefacts of type ArtefactType.

** Affects: mahara
 Importance: Low
 Assignee: Darryl Hamilton (lordp)
 Status: In Progress


** Tags: bite-sized

** Changed in: mahara
   Status: New => In Progress

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

Title:
  Fix typo bug in generic export class

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The generic export class has a typo that may be causing some issues,
  specifically if the export is passed artefacts of type ArtefactType.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805310/+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 800025] Re: Placing feedback crashes with Call to undefined function group_get_default_artefact_permissions

2011-07-03 Thread Nigel McNie
The only other thing is that the site was operating in German, the
German langpack was installed. I can't see how that would have been a
problem however.

I submit that you should just apply the fix anyway. That file mentions
that function, therefore that file should have access to that function.
require_once will prevent any problems, and there'll be plenty of other
lower hanging performance fruit before you have to worry about an extra
require_once.

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

Title:
  Placing feedback crashes with Call to undefined function
  group_get_default_artefact_permissions

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.3.6.

  When logged in as the site administrator, and trying to place some
  feedback on a group view that they owned. No file was uploaded, and
  just the word 'Test' was entered into the feedback box.

  Upon submission, I got this in the logs:
  PHP Fatal error:  Call to undefined function 
group_get_default_artefact_permissions() in 
/var/www/ewiesion.com/mahara/artefact/lib.php on line 834

  Adding a require_once('group.php') at the top of artefact/lib.php
  fixed the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800025/+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 685640] Re: If a cron function causes an exception, it's lock isn't removed

2011-07-03 Thread Hugh Davenport
also related to bug 776955

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

Title:
  If a cron function causes an exception, it's lock isn't removed

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Came across this whilst looking at #685633 but thought that it deserved a 
separate bug.
  If a cron function causes an exception for whatever reason, then the cron 
will stop, but the lock isn't removed. The job then isn't tried again for 
another 24 hours.

  Whilst this is possibly correct in some fashions -- e.g. broken crons aren't 
run endlessly to no point, some crons may cause an exception once in a while 
which isn't a major issue but shouldn't mean that the cron doesn't take place 
for another 24 hours.
  For example, network issues will probably cause the cron_check_for_updates 
cron to fail, but this could be a transient issue.

  Not sure whether it's best to catch the errors and alert an
  administrator but still keep the lock in place (to prevent the admin
  from being spammed), or to catch the errors and assume that they may
  be transient and try again, or some other solution...

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/685640/+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 800025] Re: Placing feedback crashes with Call to undefined function group_get_default_artefact_permissions

2011-07-03 Thread Hugh Davenport
Yep,

all the above was done via site admin. Was a blank group view.

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

Title:
  Placing feedback crashes with Call to undefined function
  group_get_default_artefact_permissions

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.3.6.

  When logged in as the site administrator, and trying to place some
  feedback on a group view that they owned. No file was uploaded, and
  just the word 'Test' was entered into the feedback box.

  Upon submission, I got this in the logs:
  PHP Fatal error:  Call to undefined function 
group_get_default_artefact_permissions() in 
/var/www/ewiesion.com/mahara/artefact/lib.php on line 834

  Adding a require_once('group.php') at the top of artefact/lib.php
  fixed the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800025/+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 805174] Re: Missing strings in blocktype.externalvideo.php

2011-07-03 Thread François Marier
Hi Dominique-Alain,

Would you be interested in trying out the new code review process?

I'm happy to walk you through the steps you need to do to submit this
yourself so that you get credit for it in git :)

If you want to give it a go, create an account on reviews.mahara.org by
following the instructions on this page:

  https://wiki.mahara.org/index.php/Developer_Area/Developer_Tools
(under Gerrit code review)

then these instructions will tell you how to submit the code:

  https://wiki.mahara.org/index.php/Developer_Area/Contributing_Code

Of course, feel free to email me if you have any questions.

Cheers,
Francois

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

Title:
  Missing strings in blocktype.externalvideo.php

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  You have just added vimeo strings in

  htdocs/blocktype/externalvideo/lang/en.utf8/blocktype.externalvideo.php

  but are missing
   slideshare
   voicethread
   wikieducator
   
  -dajan

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805174/+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 784326] A change has been merged

2011-07-03 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/427
Committed: 
http://gitorious.org/mahara/mahara/commit/cbcb855f19eba3caae2df29128f4010795391f92
Submitter: Francois Marier (franc...@catalyst.net.nz)
Branch:1.4_STABLE

commit cbcb855f19eba3caae2df29128f4010795391f92
Author: Hugh Davenport 
Date:   Thu May 19 10:53:14 2011 +1200

Fix collections edit form to allow setting no navigation

Bug #784326

Change-Id: I853202480dbdc0566611f1f8524ef36962e15f37
Signed-off-by: Hugh Davenport 

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

Title:
  adding a collection with "Page navigation bar" unchecked throws
  exception

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.4 series:
  Fix Committed

Bug description:
  in /collection/edit.php?new=1

  when the "Page navigation bar" option is not selected, then the
  following error log is given

  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_message("Failed to 
get a recordset: postgres7 error: [-1: E...", 8, true, true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_warn("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: 
E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
insert_record("collection", object(stdClass), "id", true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * Collection->commit() at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Collection::save(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * submit(object(Pieform), 
array(size 5)) at Unknown:0, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
call_user_func_array("submit", array(size 2)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform->__construct(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform::process(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * pieform(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] , referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALU

[Mahara-contributors] [Bug 784326] Re: adding a collection with "Page navigation bar" unchecked throws exception

2011-07-03 Thread François Marier
** Changed in: mahara/1.4
   Status: In Progress => Fix Committed

** Changed in: mahara
Milestone: 1.5.0 => None

** Changed in: mahara
   Status: Fix Committed => Fix Released

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

Title:
  adding a collection with "Page navigation bar" unchecked throws
  exception

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.4 series:
  Fix Committed

Bug description:
  in /collection/edit.php?new=1

  when the "Page navigation bar" option is not selected, then the
  following error log is given

  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_message("Failed to 
get a recordset: postgres7 error: [-1: E...", 8, true, true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_warn("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: 
E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
insert_record("collection", object(stdClass), "id", true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * Collection->commit() at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Collection::save(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * submit(object(Pieform), 
array(size 5)) at Unknown:0, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
call_user_func_array("submit", array(size 2)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform->__construct(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform::process(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * pieform(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] , referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:

[Mahara-contributors] [Bug 805174] Re: Missing strings in blocktype.externalvideo.php

2011-07-03 Thread François Marier
** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

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

Title:
  Missing strings in blocktype.externalvideo.php

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  You have just added vimeo strings in

  htdocs/blocktype/externalvideo/lang/en.utf8/blocktype.externalvideo.php

  but are missing
   slideshare
   voicethread
   wikieducator
   
  -dajan

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805174/+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 562699] Re: xmlrpc client API doesn't use proxy settings

2011-07-03 Thread Hugh Davenport
https://reviews.mahara.org/431

** Changed in: mahara
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

** Changed in: mahara
   Status: Triaged => In Progress

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

Title:
  xmlrpc client API doesn't use proxy settings

Status in Mahara ePortfolio:
  In Progress

Bug description:
  in api/xmlrpc/client.php: function send():

  this doesn't ever use proxy settings, hence was timing out for me
  because my web server MUST go through a proxy.

  I was able to fix it by adding these lines:

  if($proxy_address = get_config('proxyaddress')) {
curl_setopt($ch, CURLOPT_PROXY, $proxy_address);
  }

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/562699/+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 800025] Re: Placing feedback crashes with Call to undefined function group_get_default_artefact_permissions

2011-07-03 Thread Nigel McNie
Was it a group view? And done with the site administrator?

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

Title:
  Placing feedback crashes with Call to undefined function
  group_get_default_artefact_permissions

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.3.6.

  When logged in as the site administrator, and trying to place some
  feedback on a group view that they owned. No file was uploaded, and
  just the word 'Test' was entered into the feedback box.

  Upon submission, I got this in the logs:
  PHP Fatal error:  Call to undefined function 
group_get_default_artefact_permissions() in 
/var/www/ewiesion.com/mahara/artefact/lib.php on line 834

  Adding a require_once('group.php') at the top of artefact/lib.php
  fixed the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800025/+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 800025] Re: Placing feedback crashes with Call to undefined function group_get_default_artefact_permissions

2011-07-03 Thread François Marier
** Changed in: mahara
   Status: Triaged => Incomplete

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

Title:
  Placing feedback crashes with Call to undefined function
  group_get_default_artefact_permissions

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.3.6.

  When logged in as the site administrator, and trying to place some
  feedback on a group view that they owned. No file was uploaded, and
  just the word 'Test' was entered into the feedback box.

  Upon submission, I got this in the logs:
  PHP Fatal error:  Call to undefined function 
group_get_default_artefact_permissions() in 
/var/www/ewiesion.com/mahara/artefact/lib.php on line 834

  Adding a require_once('group.php') at the top of artefact/lib.php
  fixed the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800025/+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 803726] Re: Default profile image is not displayed in the correct theme

2011-07-03 Thread François Marier
** Changed in: mahara
   Status: Confirmed => Fix Committed

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

Title:
  Default profile image is not displayed in the correct theme

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  When a user's (institution-defined) theme is different to the site
  default theme, and the user's theme tries to override the
  no_userphoto.png image for people with no profile image, the site
  theme image is displayed instead of the user theme's image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/803726/+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 805305] [NEW] Can't upload attachment when placing feedback on group pages

2011-07-03 Thread Hugh Davenport
Public bug reported:

When I create a group page, then try to place some feedback with an
attachment, it just says processing and loading forever. File size is
tiny, works fine with non group page (ie, user, site, institution)

Cheers,

Hugh

** Affects: mahara
 Importance: Medium
 Assignee: Hugh Davenport (hugh-catalyst)
 Status: Triaged

** Changed in: mahara
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

** Changed in: mahara
   Status: New => Triaged

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

Title:
  Can't upload attachment when placing feedback on group pages

Status in Mahara ePortfolio:
  Triaged

Bug description:
  When I create a group page, then try to place some feedback with an
  attachment, it just says processing and loading forever. File size is
  tiny, works fine with non group page (ie, user, site, institution)

  Cheers,

  Hugh

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805305/+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 800025] Re: Placing feedback crashes with Call to undefined function group_get_default_artefact_permissions

2011-07-03 Thread Hugh Davenport
Hi Nigel,

I can't replicate this issue.

I was doing the following

Create new group
Create new page/view in group
View new page/view
Place feedback
Tried with both no attachment and with attachment

Works fine for me on 1.3_STABLE 1.4_STABLE and master (master it doesn't
actually let me upload an attachment...)

Can you walk us through what you did to get the error?

Cheers,

Hugh

** Changed in: mahara
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

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

Title:
  Placing feedback crashes with Call to undefined function
  group_get_default_artefact_permissions

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara 1.3.6.

  When logged in as the site administrator, and trying to place some
  feedback on a group view that they owned. No file was uploaded, and
  just the word 'Test' was entered into the feedback box.

  Upon submission, I got this in the logs:
  PHP Fatal error:  Call to undefined function 
group_get_default_artefact_permissions() in 
/var/www/ewiesion.com/mahara/artefact/lib.php on line 834

  Adding a require_once('group.php') at the top of artefact/lib.php
  fixed the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800025/+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 803726] A change has been merged

2011-07-03 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/417
Committed: 
http://gitorious.org/mahara/mahara/commit/5e0367824eaaa425485089dd65b7cddc49491734
Submitter: Richard Mansfield (richa...@mahara.org)
Branch:master

commit 5e0367824eaaa425485089dd65b7cddc49491734
Author: Richard Mansfield 
Date:   Thu Jun 30 15:54:20 2011 +1200

Allow current theme to override default profile image (bug #803726)

In thumb.php, display the no_userphoto.png image from the current theme
instead of the site theme.

Change-Id: I8909a5284bd98a5a0349b1039fb1c4012921f03b
Signed-off-by: Richard Mansfield 

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

Title:
  Default profile image is not displayed in the correct theme

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  When a user's (institution-defined) theme is different to the site
  default theme, and the user's theme tries to override the
  no_userphoto.png image for people with no profile image, the site
  theme image is displayed instead of the user theme's image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/803726/+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 800373] Re: "copy this page" in group is linked incorrectly

2011-07-03 Thread Hugh Davenport
https://reviews.mahara.org/429 for 1.4_STABLE

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

Title:
  "copy this page" in group is linked incorrectly

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara 1.4 stable; tested on demo.mahara.org

  http://mahara.org/interaction/forum/topic.php?id=3766

  When a group page is made copyable, the "Copy this page" link appears
  next to it when group pages are shown on the group homepage. However,
  the link points to the group homepage itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800373/+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 800373] Re: "copy this page" in group is linked incorrectly

2011-07-03 Thread Hugh Davenport
https://reviews.mahara.org/428

** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  "copy this page" in group is linked incorrectly

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara 1.4 stable; tested on demo.mahara.org

  http://mahara.org/interaction/forum/topic.php?id=3766

  When a group page is made copyable, the "Copy this page" link appears
  next to it when group pages are shown on the group homepage. However,
  the link points to the group homepage itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800373/+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 800373] Re: "copy this page" in group is linked incorrectly

2011-07-03 Thread Hugh Davenport
** Changed in: mahara
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

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

Title:
  "copy this page" in group is linked incorrectly

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Mahara 1.4 stable; tested on demo.mahara.org

  http://mahara.org/interaction/forum/topic.php?id=3766

  When a group page is made copyable, the "Copy this page" link appears
  next to it when group pages are shown on the group homepage. However,
  the link points to the group homepage itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800373/+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 804609] Re: Staff should not see the username

2011-07-03 Thread François Marier
** Changed in: mahara
   Status: Triaged => Opinion

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

Title:
  Staff should not see the username

Status in Mahara ePortfolio:
  Opinion

Bug description:
  Institution and site staff should only see the real name and the
  display name, but not the username, I think. They are not
  administering the institution. This should be reserved to institution
  and site admins. These see all three names: real, display, username.

  The behavior of what a site staff member can see is not consistent: On
  a user's profile page he only sees the display name, but in the online
  user sidebar he sees the real, display and username.

  The institution staff either only sees the display name or he also
  sees the real name (with the display name in parentheses). The latter
  option would be beneficial to sites with multiple institutions where
  an institution decides to only have the first name of their students
  as display names so that their privacy is protected from non-
  institution members. If the staff would still be seeing the real name,
  it would be easier for them to find their students.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/804609/+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 685942] Re: Possible https to http downgrade

2011-07-03 Thread François Marier
Hi Iñaki,

1.3_STABLE is supported for security fixes only. However, given that
this "cron not running" bug is a regression caused by a security update,
we should fix it in 1.3.7.

Bug #794490 is the bug that tracks this problem (and that's what change
I991f51d2cc9272e5f33e5f4b7486d3565924d8c7 should have been pointing to).
I have reopened it with a milestone of 1.3.7.

Cheers,
Francois

** Changed in: mahara/1.3
   Status: Incomplete => Fix Released

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

Title:
  Possible https to http downgrade

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.2 series:
  Fix Released
Status in Mahara 1.3 series:
  Fix Released

Bug description:
  Interesting that with both, bug #646713 and bug #684190, we overlooked
  the most obvious and relatively sensitive issue.

  Even though $cfg->wwwroot might be set 'https://somemaharasite',
  depending on apache config, user may still be able to use insecure
  page for logging in by entering 'http://somemaharasite' in the web
  browser address field, then, upon logging-in, user credentials will be
  passed through insecure connection first, before sever respond with
  redirection to https secured page.

  This is valid for other pages after logging in - at any time used may
  switch back to insecure connection by typing
  'http://somemaharasite/somedir/somepage.php'.

  This can be fixed by ensuring that $_SERVER['HTTPS'] is set when
  $cfg->wwwroot = 'https://...', otherwise redirecting user to the same
  page using https.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/685942/+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 794490] Re: Cron is not running

2011-07-03 Thread François Marier
** Also affects: mahara/1.3
   Importance: Undecided
   Status: New

** Changed in: mahara/1.3
Milestone: None => 1.3.7

** Changed in: mahara/1.3
   Importance: Undecided => High

** Changed in: mahara/1.3
   Status: New => Confirmed

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

Title:
  Cron is not running

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.3 series:
  Confirmed

Bug description:
  Mahara v1.4rc3
  Linux 2.6.26-2
  PHP 5.2.6
  Apache-Server 2.2.9
  postgresql-Server 8.4

  I was trying to setup the cronjob for mahara explained like in the
  wiki:
  https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Cron_Job.
  But it do not work.

  See the entry in the /etc/crontab:
   */5 * * * * www-data php -c /etc/php5/apache2/php.ini 
/data/srv/www/mahara/lib/cron.php >> /var/log/mahara/cron.log 2>&1

  and the output of log-file in /var/log/mahara/cron.log:
  "A nonrecoverable error occured. This probably means you have encountered a 
bug in the system[WAR] 1f (lib/web.php:2291) redirect() should be called with 
either /[something] for local redirects or http[something] for absolute 
redirects
  Call stack (most recent first):
* redirect("ar/www/mahara/lib/cron.php") at /var/www/mahara/init.php:192
* require("/var/www/mahara/init.php") at /var/www/mahara/lib/cron.php:33

  A nonrecoverable error occured. This probably means you have
  encountered a bug in the system".

  Has anybody an idea?

  Thanx,
  michael wuttke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/794490/+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 804609] Re: Staff should not see the username

2011-07-03 Thread Richard Mansfield
I don't think it's a good idea to hide usernames from staff, unless
there's some very pressing reason to protect the privacy of usernames.
Display names and real names aren't unique, and there are instances
where it's helpful for staff to be able to uniquely identify users, for
example, when finding users to add to controlled groups, and when giving
feedback on views.

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

Title:
  Staff should not see the username

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Institution and site staff should only see the real name and the
  display name, but not the username, I think. They are not
  administering the institution. This should be reserved to institution
  and site admins. These see all three names: real, display, username.

  The behavior of what a site staff member can see is not consistent: On
  a user's profile page he only sees the display name, but in the online
  user sidebar he sees the real, display and username.

  The institution staff either only sees the display name or he also
  sees the real name (with the display name in parentheses). The latter
  option would be beneficial to sites with multiple institutions where
  an institution decides to only have the first name of their students
  as display names so that their privacy is protected from non-
  institution members. If the staff would still be seeing the real name,
  it would be easier for them to find their students.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/804609/+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 804609] Re: Staff should not see the username

2011-07-03 Thread François Marier
** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
   Status: New => Triaged

** Changed in: mahara
   Importance: Medium => Low

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

Title:
  Staff should not see the username

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Institution and site staff should only see the real name and the
  display name, but not the username, I think. They are not
  administering the institution. This should be reserved to institution
  and site admins. These see all three names: real, display, username.

  The behavior of what a site staff member can see is not consistent: On
  a user's profile page he only sees the display name, but in the online
  user sidebar he sees the real, display and username.

  The institution staff either only sees the display name or he also
  sees the real name (with the display name in parentheses). The latter
  option would be beneficial to sites with multiple institutions where
  an institution decides to only have the first name of their students
  as display names so that their privacy is protected from non-
  institution members. If the staff would still be seeing the real name,
  it would be easier for them to find their students.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/804609/+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 804592] Re: "Group homepage" should be the first page for an admin

2011-07-03 Thread François Marier
** Changed in: mahara
   Importance: Undecided => Medium

** Tags added: bite-sized

** Changed in: mahara
   Status: New => Triaged

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

Title:
  "Group homepage" should be the first page for an admin

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Like "Dashboard" and "Profile Page" in a user's list of pages, "Group
  homepage" should be the first one in a group for an admin who can edit
  it. Otherwise, it may get lost in the list of group pages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/804592/+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 800252] Re: google chrome add image blocktype: buttons don't react

2011-07-03 Thread Craig Eves
Chrome also has similar problems in Windows - tried in demo.mahara.org
and myportfolio.ac.nz and myportfolio.school.nz.

The demo site is currently in German which makes it hard for me to test
too much.

This also makes the upload button non responsive in the image block too.

Craig

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

Title:
  google chrome add image blocktype: buttons don't react

Status in Mahara ePortfolio:
  Triaged

Bug description:
  When editing a view, and adding the blocktype: "Add Image", after the image 
has uploaded, the 'Select' button doesn't produce any changes visually. When 
clicking Save, the changes happen.
  using Chromium 12.0.742.91 (87961)
  Ubuntu 10.04
  using Mahara 1.4.0

  MySQL

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/800252/+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 784326] Re: adding a collection with "Page navigation bar" unchecked throws exception

2011-07-03 Thread Hugh Davenport
review for 1.4_STABLE at https://reviews.mahara.org/427

** Also affects: mahara/1.4
   Importance: Undecided
   Status: New

** Changed in: mahara/1.4
   Status: New => In Progress

** Changed in: mahara/1.4
   Importance: Undecided => Medium

** Changed in: mahara/1.4
 Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)

** Changed in: mahara/1.4
Milestone: None => 1.4.1

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

Title:
  adding a collection with "Page navigation bar" unchecked throws
  exception

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.4 series:
  In Progress

Bug description:
  in /collection/edit.php?new=1

  when the "Page navigation bar" option is not selected, then the
  following error log is given

  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_message("Failed to 
get a recordset: postgres7 error: [-1: E...", 8, true, true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_warn("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: 
E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
insert_record("collection", object(stdClass), "id", true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * Collection->commit() at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Collection::save(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * submit(object(Pieform), 
array(size 5)) at Unknown:0, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
call_user_func_array("submit", array(size 2)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform->__construct(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform::process(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * pieform(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] , referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http

[Mahara-contributors] [Bug 784326] Re: adding a collection with "Page navigation bar" unchecked throws exception

2011-07-03 Thread Hugh Davenport
This problem is also present on 1.4

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

Title:
  adding a collection with "Page navigation bar" unchecked throws
  exception

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.4 series:
  In Progress

Bug description:
  in /collection/edit.php?new=1

  when the "Page navigation bar" option is not selected, then the
  following error log is given

  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_message("Failed to 
get a recordset: postgres7 error: [-1: E...", 8, true, true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * log_warn("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: 
E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
insert_record("collection", object(stdClass), "id", true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * Collection->commit() at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Collection::save(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * submit(object(Pieform), 
array(size 5)) at Unknown:0, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
call_user_func_array("submit", array(size 2)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform->__construct(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
Pieform::process(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * pieform(array(size 5)) at 
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] , referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax 
for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", 
"ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, 
?, ?), Array), referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060) 
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", 
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was 
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer: 
http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent 
first):, referer: http://localhost/mahara/collection/edit.php?new=1
  [Wed May 18 11:19:05 2011] [error] [client ::1]   * 
insert_record("collection", object(stdClass), "id", true) at 
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:

[Mahara-contributors] [Bug 804989] Re: Collections creation error with horizontal navigation bar unchecked

2011-07-03 Thread Hugh Davenport
*** This bug is a duplicate of bug 784326 ***
https://bugs.launchpad.net/bugs/784326

** This bug has been marked a duplicate of bug 784326
   adding a collection with "Page navigation bar" unchecked throws exception

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

Title:
  Collections creation error with horizontal navigation bar unchecked

Status in Mahara ePortfolio:
  New

Bug description:
  This was reported at
  http://mahara.org/interaction/forum/topic.php?id=3797

  The message I get on my local install (Mahara 1.4 running on Postgres):
  [WAR] 5b (lib/errors.php:745) Failed to get a recordset: postgres7 error: 
[-1: ERROR:  invalid input syntax for integer: ""] in adodb_throw(INSERT INTO 
"collection" ("id", "owner", "ctime", "mtime", "name", "description", 
"navigation") VALUES (?, ?, ?, ?, ?, ?, ?), Array)
  Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", 
"name", "description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values 
was (2,1,2011-07-03 16:55:03,2011-07-03 16:55:03,Test,,)

  Call stack (most recent first):

  log_message("Failed to get a recordset: postgres7 error: [-1: E...", 8, 
true, true) at /home/kristina/code/mahara14/htdocs/lib/errors.php:109
  log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at 
/home/kristina/code/mahara14/htdocs/lib/errors.php:745
  SQLException->__construct("Failed to get a recordset: postgres7 error: 
[-1: E...") at /home/kristina/code/mahara14/htdocs/lib/dml.php:1060
  insert_record("collection", object(stdClass), "id", true) at 
/home/kristina/code/mahara14/htdocs/lib/collection.php:145
  Collection->commit() at 
/home/kristina/code/mahara14/htdocs/lib/collection.php:101
  Collection::save(array(size 5)) at 
/home/kristina/code/mahara14/htdocs/collection/edit.php:86
  submit(object(Pieform), array(size 5)) at Unknown:0
  call_user_func_array("submit", array(size 2)) at 
/home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:512
  Pieform->__construct(array(size 5)) at 
/home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 5)) at 
/home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 5)) at 
/home/kristina/code/mahara14/htdocs/collection/edit.php:77

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/804989/+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 805174] Re: Missing strings in blocktype.externalvideo.php

2011-07-03 Thread Dominique-Alain JAN
** Patch added: "blocktype.externalvideo.php"
   
https://bugs.launchpad.net/bugs/805174/+attachment/2189426/+files/blocktype.externalvideo.php

** Changed in: mahara
 Assignee: (unassigned) => Dominique-Alain JAN (dajan)

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

Title:
  Missing strings in blocktype.externalvideo.php

Status in Mahara ePortfolio:
  New

Bug description:
  You have just added vimeo strings in

  htdocs/blocktype/externalvideo/lang/en.utf8/blocktype.externalvideo.php

  but are missing
   slideshare
   voicethread
   wikieducator
   
  -dajan

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805174/+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 805174] [NEW] Missing strings in blocktype.externalvideo.php

2011-07-03 Thread Dominique-Alain JAN
Public bug reported:

You have just added vimeo strings in

htdocs/blocktype/externalvideo/lang/en.utf8/blocktype.externalvideo.php

but are missing
 slideshare
 voicethread
 wikieducator
 
-dajan

** Affects: mahara
 Importance: Undecided
 Assignee: Dominique-Alain JAN (dajan)
 Status: New

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

Title:
  Missing strings in blocktype.externalvideo.php

Status in Mahara ePortfolio:
  New

Bug description:
  You have just added vimeo strings in

  htdocs/blocktype/externalvideo/lang/en.utf8/blocktype.externalvideo.php

  but are missing
   slideshare
   voicethread
   wikieducator
   
  -dajan

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/805174/+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 685942] Re: Possible https to http downgrade

2011-07-03 Thread Iñaki Arenaza
Hi Ruslan,

yup, it's been fixed for 1.4_STABLE and master, but not for 1.3_STABLE
(see
http://gitorious.org/mahara/mahara/blobs/1.3_STABLE/htdocs/init.php#line194
). I thought 1.3_STABLE was still supported, am I right?

Saludos.
Iñaki.

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

Title:
  Possible https to http downgrade

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.2 series:
  Fix Released
Status in Mahara 1.3 series:
  Incomplete

Bug description:
  Interesting that with both, bug #646713 and bug #684190, we overlooked
  the most obvious and relatively sensitive issue.

  Even though $cfg->wwwroot might be set 'https://somemaharasite',
  depending on apache config, user may still be able to use insecure
  page for logging in by entering 'http://somemaharasite' in the web
  browser address field, then, upon logging-in, user credentials will be
  passed through insecure connection first, before sever respond with
  redirection to https secured page.

  This is valid for other pages after logging in - at any time used may
  switch back to insecure connection by typing
  'http://somemaharasite/somedir/somepage.php'.

  This can be fixed by ensuring that $_SERVER['HTTPS'] is set when
  $cfg->wwwroot = 'https://...', otherwise redirecting user to the same
  page using https.

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