[Mahara-contributors] [Bug 525583] Re: RSS for forum posts and other views

2010-07-21 Thread Richard Mansfield
** Changed in: mahara
 Assignee: (unassigned) => Richard Mansfield (richard-mansfield)

-- 
RSS for forum posts and other views
https://bugs.launchpad.net/bugs/525583
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: In Progress

Bug description:
It would be great to have RSS available for Forum posts and other views. This 
way the RSS could be imported into other sides i.e. a CMS and linked 
automatically to the right forum posts and forum.



___
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 606182] Re: call_static_method doesn't work with references on php 5.3

2010-07-21 Thread Richard Mansfield
** Changed in: mahara
   Status: Confirmed => Fix Committed

-- 
call_static_method doesn't work with references on php 5.3
https://bugs.launchpad.net/bugs/606182
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Committed

Bug description:
This is evident in the leap2a export of comments, but probably elsewhere as 
well.

The problem is that call_user_func array doesn't pass values  by reference. See 
the following bug for a description of the problem 
http://bugs.php.net/bug.php?id=49241

Which says it works by accident in php 5.2 :)



___
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 607647] Re: Error creating Group

2010-07-21 Thread Richard Mansfield
Yeah, the bug only occurred in new installs. Upgraded sites shouldn't
have it.

If you have a site that was made using a new install after the bug was
introduced (1 July), and you need to fix the db for that site, you
should do that by hand (using "ALTER TABLE view_access ALTER COLUMN
accesstype DROP DEFAULT").

That's because we generally don't bother to write upgrades to fix old
broken upgrade stuff unless it's in a stable release.  Life on the edge.

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

Status in Mahara ePortfolio: Fix Committed

Bug description:
Getting an error creating a group on current version of Master.  Using 
PostgreSQL version 8.4.4 on Ubuntu 9.10

Produce by clicking Groups -> Create Group -> (fill fields) -> Save Group.

Error log extract:

[Tue Jul 20 10:36:39 2010] [WAR] d3 (lib/errors.php:743) Failed to get a 
recordset: postgres7 error: [-1: ERROR:  new row for relation "view_access" 
violates check constraint "view_access_check"] in adodb_throw(INSERT INTO 
"view_access" ("view", "group", "allowcomments", "approvecomments") VALUES (?, 
?, ?, ?), Array)
[Tue Jul 20 10:36:39 2010] [WAR] d3 (lib/errors.php:743) Command was: INSERT 
INTO "view_access" ("view", "group", "allowcomments", "approvecomments") VALUES 
(?, ?, ?, ?) and values was (8,3,0,0)
[Tue Jul 20 10:36:39 2010] Call stack (most recent first):
[Tue Jul 20 10:36:39 2010] * log_message("Failed to get a recordset: postgres7 
error: [-1: E...", 8, true, true) at 
/var/www/mahararepos/master/htdocs/lib/errors.php:109
[Tue Jul 20 10:36:39 2010] * log_warn("Failed to get a recordset: postgres7 
error: [-1: E...") at /var/www/mahararepos/master/htdocs/lib/errors.php:743
[Tue Jul 20 10:36:39 2010] * SQLException->__construct("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/var/www/mahararepos/master/htdocs/lib/dml.php:1069
[Tue Jul 20 10:36:39 2010] * insert_record("view_access", object(stdClass)) at 
/var/www/mahararepos/master/htdocs/lib/view.php:717
[Tue Jul 20 10:36:39 2010] * View->set_access(array(size 1)) at 
/var/www/mahararepos/master/htdocs/lib/view.php:346
[Tue Jul 20 10:36:39 2010] * View::_create(array(size 4), 0) at 
/var/www/mahararepos/master/htdocs/lib/view.php:213
[Tue Jul 20 10:36:39 2010] * View::create_from_template(array(size 4), "3", 0, 
false) at /var/www/mahararepos/master/htdocs/lib/group.php:324
[Tue Jul 20 10:36:39 2010] * group_create(array(size 9)) at 
/var/www/mahararepos/master/htdocs/group/create.php:132
[Tue Jul 20 10:36:39 2010] * creategroup_submit(object(Pieform), array(size 9)) 
at Unknown:0
[Tue Jul 20 10:36:39 2010] * call_user_func_array("creategroup_submit", 
array(size 2)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:511
[Tue Jul 20 10:36:39 2010] * Pieform->__construct(array(size 5)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:161
[Tue Jul 20 10:36:39 2010] * Pieform::process(array(size 5)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:71
[Tue Jul 20 10:36:39 2010] * pieform(array(size 5)) at 
/var/www/mahararepos/master/htdocs/group/create.php:96


Constraint in question:

"view_access_check" CHECK (accesstype IS NOT NULL AND "group" IS NULL AND usr 
IS NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NOT NULL AND usr 
IS NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NULL AND usr IS 
NOT NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NULL AND usr IS 
NULL AND token IS NOT NULL)



___
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 607647] Re: Error creating Group

2010-07-21 Thread David Drummond
Thanks Richard. Does the fix only repair new installs?

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

Status in Mahara ePortfolio: Fix Committed

Bug description:
Getting an error creating a group on current version of Master.  Using 
PostgreSQL version 8.4.4 on Ubuntu 9.10

Produce by clicking Groups -> Create Group -> (fill fields) -> Save Group.

Error log extract:

[Tue Jul 20 10:36:39 2010] [WAR] d3 (lib/errors.php:743) Failed to get a 
recordset: postgres7 error: [-1: ERROR:  new row for relation "view_access" 
violates check constraint "view_access_check"] in adodb_throw(INSERT INTO 
"view_access" ("view", "group", "allowcomments", "approvecomments") VALUES (?, 
?, ?, ?), Array)
[Tue Jul 20 10:36:39 2010] [WAR] d3 (lib/errors.php:743) Command was: INSERT 
INTO "view_access" ("view", "group", "allowcomments", "approvecomments") VALUES 
(?, ?, ?, ?) and values was (8,3,0,0)
[Tue Jul 20 10:36:39 2010] Call stack (most recent first):
[Tue Jul 20 10:36:39 2010] * log_message("Failed to get a recordset: postgres7 
error: [-1: E...", 8, true, true) at 
/var/www/mahararepos/master/htdocs/lib/errors.php:109
[Tue Jul 20 10:36:39 2010] * log_warn("Failed to get a recordset: postgres7 
error: [-1: E...") at /var/www/mahararepos/master/htdocs/lib/errors.php:743
[Tue Jul 20 10:36:39 2010] * SQLException->__construct("Failed to get a 
recordset: postgres7 error: [-1: E...") at 
/var/www/mahararepos/master/htdocs/lib/dml.php:1069
[Tue Jul 20 10:36:39 2010] * insert_record("view_access", object(stdClass)) at 
/var/www/mahararepos/master/htdocs/lib/view.php:717
[Tue Jul 20 10:36:39 2010] * View->set_access(array(size 1)) at 
/var/www/mahararepos/master/htdocs/lib/view.php:346
[Tue Jul 20 10:36:39 2010] * View::_create(array(size 4), 0) at 
/var/www/mahararepos/master/htdocs/lib/view.php:213
[Tue Jul 20 10:36:39 2010] * View::create_from_template(array(size 4), "3", 0, 
false) at /var/www/mahararepos/master/htdocs/lib/group.php:324
[Tue Jul 20 10:36:39 2010] * group_create(array(size 9)) at 
/var/www/mahararepos/master/htdocs/group/create.php:132
[Tue Jul 20 10:36:39 2010] * creategroup_submit(object(Pieform), array(size 9)) 
at Unknown:0
[Tue Jul 20 10:36:39 2010] * call_user_func_array("creategroup_submit", 
array(size 2)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:511
[Tue Jul 20 10:36:39 2010] * Pieform->__construct(array(size 5)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:161
[Tue Jul 20 10:36:39 2010] * Pieform::process(array(size 5)) at 
/var/www/mahararepos/master/htdocs/lib/pieforms/pieform.php:71
[Tue Jul 20 10:36:39 2010] * pieform(array(size 5)) at 
/var/www/mahararepos/master/htdocs/group/create.php:96


Constraint in question:

"view_access_check" CHECK (accesstype IS NOT NULL AND "group" IS NULL AND usr 
IS NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NOT NULL AND usr 
IS NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NULL AND usr IS 
NOT NULL AND token IS NULL OR accesstype IS NULL AND "group" IS NULL AND usr IS 
NULL AND token IS NOT NULL)



___
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 605705] Re: More information when deleting a view

2010-07-21 Thread Kristina Hoeppner
My wording is more clumsy, Alan, but we need to make the distinction
between the different blocks. It will get easier once text boxes and
feedback are also reusable artefacts.

-- 
More information when deleting a view
https://bugs.launchpad.net/bugs/605705
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: In Progress

Bug description:
Hello,

"Do you really want to delete this View? It cannot be undone." –> Some users 
may ask if their files and blog entries will also be lost when the view is 
deleted. 

Maybe a sentence should be added along the lines of "All your files and blog 
entries that you linked in this view will still be available. However, if you 
have written text directly into text boxes, this will be gone." 

BUT if text boxes also get the artefact status then the second sentence becomes 
redundant. 

Maybe we can also provide a link to the portfolio export. That could be used as 
backup (they could always do an HTML export to freeze their portfolio in time). 
E.g. "If you want to create a copy of your portfolio in the state it was in 
before deleting, you may want to [link]export[/link] it before you delete this 
view."



___
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