Bug

Can't edit tasks

Summary

open
Jun 10, 2010
Jun 10, 2010 / baeron
Dec 6, 2010 / guest
 

Attached files

No files uploaded
 
when I want to edit a task (or something else, e.g. milestone) on streber-pm.org I get the following error:
Fatal error: Class 'PageBlock' not found in /www/htdocs/w005ed8b/pages/task_edit.inc.php on line 108
On my local installation I can't edit a task either. I just get an empty page (the taskname and id is printed, but nothing else), no error is displayed.

Issue report

Major
Always
v0.0913
 

2 Comments

oliverlegrand:

7 years ago

This looks to be occurring in render_page.inc.php around line 583. It is trying to access a form field (task_name) which does not exist.

guest:Solution to edit task problem

7 years ago - visible as suggested -

I've solved this problem on my machine by applying the following patch to task_edit.inc.php:

--- pages/task_edit.inc.php.orig 2010-12-06 07:03:58.000000000 -0600
+++ pages/task_edit.inc.php 2010-12-06 07:00:29.000000000 -0600
@@ -17,6 +17,7 @@
 require_once(confGet('DIR_STREBER') . 'db/class_issue.inc.php');
 require_once(confGet('DIR_STREBER') . 'db/class_task.inc.php');
 require_once(confGet('DIR_STREBER') . 'db/class_project.inc.php');
+require_once(confGet('DIR_STREBER') . 'render/render_block.inc.php');


 /**