Best practice forum (Archived)

Learning Plan - Workflow Tab

 
Gareth Evans
Learning Plan - Workflow Tab
על ידי Gareth Evans בתאריך 21/04/2011, 02:48
 

Hi,

Please could you help...  I can't display the Workflow tab under Learning Plans > Manage Templates.  It just displays a blank screen instead.  The address is http://mysite.com/local/plan/template/workflow.php?id=1

Also, the Create New Learning Plan button isn't displayed when I try to create a learning plan as a learner, manager, admin etc.  I'm assuming this could be related?

We're running Totara 1.0.7.  Please could you advise - thanks.

Kind Regards,

Gareth

פרסום זה הוסר
21/04/2011, 06:13
פרסום זה הוסר ואינו זמין יותר.
Simon Coggins
Re: Learning Plan - Workflow Tab
על ידי Simon Coggins בתאריך 21/04/2011, 12:07
קבוצה Totara

This is a bug, but it only shows up in sites running PHP5.2 so we missed it with our internal testing. We've produced a patch to fix it in 1.0.8 (due out 26th April), and added a test to catch similar bugs in the future.

If you would like to patch your version before the next release - it's quite a simple fix. Edit the file local/plan/priorityscales/lib.php and replace this line (line 78):

$used = $used || $component_class::is_priority_scale_used($scaleid);

with this:

$used = $used || call_user_func(array($component_classis_priority_scale_used),$scaleid);

Upgrading from PHP5.2 to 5.3 would also work.

Simon


Gareth Evans
Re: Learning Plan - Workflow Tab
על ידי Gareth Evans בתאריך 26/04/2011, 02:10
 

Have applied the patch and it seems to work fine.

Thanks for your help!

Gareth

Simon Coggins
Re: Learning Plan - Workflow Tab
על ידי Simon Coggins בתאריך 26/04/2011, 02:32
קבוצה Totara

Hi Gareth,

I think there is actually an issue with that patch - 'is_priority_scale_used' should be surrounded by single quotes.

We released version 1.0.8 today which also includes the correct bug fix.

Simon