Author Topic: Add Subtask doesn't work in V2.4  (Read 3427 times)

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Add Subtask doesn't work in V2.4
« on: November 28, 2013, 07:00:49 am »
I recently upgraded to version 2.4 final release. Now adding subtasks doesn't work anymore.
The server: OpenSUSE 12.3, Apache version 2.2.22 , MySQL version 5.5.33 
The error messages:
Using Firefox, I get the message 'Information: og.redrawTemplateObjectsLists is not a function' and 'Success: Template has been added'
Using InternetExplorer: 'Information: Object doesn't support property or method redrawTemplateObjectsLists'

Some entries from 'log.php'
:
Session "default" started at 2013-11-28T08:25:59+0000
#1 ERROR: Error: Invalid argument supplied for foreach() in '/srv/www/htdocs/fengoffice/application/controllers/TaskController.class.php' on line 931 (error code: 2)
Time since start: 0.33902883529663 seconds
-------------------------------------------------------------------------------

Session "default" started at 2013-11-28T08:27:10+0000
#1 ERROR: Error: Invalid argument supplied for foreach() in '/srv/www/htdocs/fengoffice/application/helpers/permissions.php' on line 1122 (error code: 2)
Time since start: 0.3613588809967 seconds
-------------------------------------------------------------------------------

Session "default" started at 2013-11-28T08:51:32+0000
#1 ERROR: Error: Undefined variable: genid in '/srv/www/htdocs/fengoffice/application/views/template_task/view.php' on line 46 (error code: 8)
Time since start: 0.29644012451172 seconds
-------------------------------------------------------------------------------

Session "default" started at 2013-11-28T08:53:55+0000
#1 ERROR: Error: Undefined variable: choose_ctx in '/srv/www/htdocs/fengoffice/application/controllers/TemplateController.class.php' on line 679 (error code: 8)
Time since start: 0.33607912063599 seconds
-------------------------------------------------------------------------------



I crosschecked this with a completely fresh installation without any customizations and the result was the same. It is not possible to create subtasks.

Does anybody experience the same issue or is there any idea how to fix it?

Thanks & Greetings
« Last Edit: November 28, 2013, 08:39:17 am by WillyW »

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Add Subtask doesn't work in V2.4
« Reply #1 on: November 28, 2013, 10:14:35 am »
I have just seen that I can add a subtask if I do it from the tasks list. The error does only occure if I try to add the subtask from within the task.
But anyways, it should work in either way.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Add Subtask doesn't work in V2.4
« Reply #2 on: December 16, 2013, 09:59:00 am »
Yup.. this bug was introduced with the changes in the templates.
However, the 2.4.0.6 version does fix it :)
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

WillyW

  • Freshman
  • *
  • Posts: 15
    • View Profile
Re: Add Subtask doesn't work in V2.4
« Reply #3 on: December 18, 2013, 09:02:01 am »
 It works now after applying the latest update. Great work, thanks

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Add Subtask doesn't work in V2.4
« Reply #4 on: December 18, 2013, 11:40:03 am »
Thanks for your feedback.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!