PDA

View Full Version : problem with assigning tasks


eshober
06-04-05, 12:51 AM
I have upgraded from 1.x to 2.0 and now find that I can no longer assign tasks. I select the assigned user under human resources and after I select save, the assigned user is empty. I'm also finding that editing existing tasks results in emptying that field.

I'm running this on a Red Hat/Fedora platform with PHP installed as an Apache module. The database on MySQL is upgraded from 1.x, however I'm running this from a fresh install of the files since I couldn't manage to get it running any other way. (I did do some modification on my 1.x version files, so I'm attributing this fact to that)

I may be barking up the wrong tree but it seems that the user_tasks table is not being updated correctly if it all. I started looking at the tasks.class.php file and the function that updates this table, updateAssigned. First off should the $del and $rmUsers variables be set here :updateAssigned( $cslist, $perc_assign, $del=true, $rmUsers=false ). Also I found by altering this I could at least get the task assigned by setting $del=false, however I couldn't edit at all then.

This is the part where I lavish praise on your product (it is awesome!) and ask humbly for your assistance. Any help would be appreciated.

alphaone
06-04-05, 08:05 AM
I've the same problem...

but I've not upgraded from previus version...so I think could be a Bug...

:?

I Hope somebody can help us... :wink:

eelgueta
07-04-05, 05:46 AM
The same over here!

Linux RH FC 2
Apache 2.0
PHP 4.3
MySQL 4.1

Fresh 2.0 release install.

Edo.

byetman
07-04-05, 07:16 AM
For what it's worth: I had the same problem with assigning tasks to users until I unchecked the 'Show All Task Assignees' in the system config. I had checked this by default during install, and was experiencing the same inability to add/edit task assignees. Once I unchecked and saved the settings, I am able to assign multiple users to a given task.

I have found this to work on 2 seperate instances (one update, one clean install)

S2003
IIS 6
PHP 4.3
MySQL 4.1

Benton

alphaone
11-04-05, 08:24 AM
It still does not work.... :cry:

---------
DotProject 2.01
php-4.3.11
APACHE-2.0.53
Mysql 4.0.21
SUSE 9.2 Pro

Karen
11-04-05, 09:59 AM
I've just tried this here with the Show All option turned on and off and it's working in both instances for me.

Can you clarify which browser you are using / whether you are seeing any Javascript errors - anything like that?

ricwash2
11-04-05, 10:30 PM
I've just tried this here with the Show All option turned on and off and it's working in both instances for me.

Can you clarify which browser you are using / whether you are seeing any Javascript errors - anything like that?

I have also had this problem, but it is random. Sometimes I have no trouble adding assignee's, sometimes I can only add certain ones. Sometimes none of them.

I use Safari mostly, but have tried it with IE 6 on WinXP.

And I just tried it with FireFox.

-ric

eshober
12-04-05, 12:25 AM
Using promarily Firefox on a Mac but have tried it on IE on a Windows machine with the same results. I have tried with Show All Task Assignees both on and off and that seems to make no difference. When attempting to assign a task just now I got no JS errors on Firefox or IE.

From what I can tell the table user_tasks is not inserting nor updating.

alphaone
13-04-05, 07:19 AM
I use Firefox 1.0.2 and IE 6...

and I still have the problem... :?

alphaone
13-04-05, 07:22 AM
I don't show any javascript error...

alphaone
14-04-05, 07:16 AM
Hi guys,

I've solved the problem disabling the "OverAllocation Checking" in the configuration options...

I don't think it's a problem solving, but disabling that options make the resources allocation possible... :wink:

Thanks

eshober
16-04-05, 05:38 AM
thanks. that solved the problem. i had changed it to allow 200% allocation but never turned off the overallocation checking.