[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-07-01 Thread François Marier
** Changed in: mahara Status: Fix Committed = Fix Released -- Group View Creation Error https://bugs.launchpad.net/bugs/537492 You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Status in Mahara ePortfolio: Fix Released Bug

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-21 Thread Rich Trott
Thanks again! Although I wasn't directly involved in it, I'm told that the setting the delay to 0 was a bug fix (or at least a workaround) for a problem where duplicate notifications were going out for events. We'll try setting it back to 1 and see what happens... -- Group View Creation Error

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-20 Thread Richard Mansfield
Rich, It's probably a good idea to make that view access activity delayed (set delay to 1 in the viewaccess activity type) especially if you have any large groups on your site. Otherwise submitting the view access form could take a very long time while hundreds of emails get sent out. I

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-18 Thread Rich Trott
Thanks! That patch fixed it! -- Group View Creation Error https://bugs.launchpad.net/bugs/537492 You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Status in Mahara ePortfolio: Confirmed Bug description: Creating a new Group View

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-17 Thread Rich Trott
There's nothing in the apache log indicating an error. In the likely event that those database dumps provided above aren't very useful, the answer to your (Richard Mansfield's) question about what if anything is in the view_access* tables for the view in question is: Nothing. For example, I just

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-17 Thread Rich Trott
Not sure if this will be helpful, but I put the whole Pieforms constructor in a try/catch block and printed out the stack trace. Caught exception: /web/mahara/htdocs-1.2.4/lib/activity.php #0 /web/mahara/htdocs-1.2.4/lib/activity.php(74): ActivityTypeViewaccess-__construct(Object(stdClass),

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-17 Thread Richard Mansfield
Thanks Rich, that *is* helpful. The query in the ActivityTypeViewaccess constructor looks to me like it assumes the view is owned by an individual user rather than a group, it's probably code from before we had group views. It does make me wonder why this bug doesn't happen for everyone. I'll

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-17 Thread Richard Mansfield
The reason it was hard to detect is that the view access notification doesn't normally happen during view creation. For most systems it's delayed and gets sent out in a cron job (the 'delay' column of the activity_type table is what determines this). The attached patch should fix it for you (I

[Mahara-contributors] [Bug 537492] Re: Group View Creation Error

2010-06-02 Thread Richard Mansfield
Hi Jesse, I just tried reproducing this (master and 1.2.4) without success. Could you try this in 1.2.4 and see if you have the same problem? Also, it would be good to know what, if anything, is in your view_access_* tables for the affected view. I know there's some code which tries to