cancel
Showing results for 
Search instead for 
Did you mean: 

My Tasks - Always Fails

theslacker
Champ in-the-making
Champ in-the-making
Hi all. I downloaded Alfresco Community 3.3 and am evaluating it for my company. I really like some aspects of it, but I am having trouble with one feature right out of the box. I installed on win XP using the exe installer. Install went well. Using Share works well except whenever I try to do anything in the My Tasks Dashlet, it never works. I get a Failed To Action Task message.

Here is an example:
- User requests access to site
- site owner has the activity in My Tasks to approve or reject
- site owner clicks either option and the Fail message comes up

I tried a whole variety of other tasks and they all fail.

Another example is accepting a workflow request.

I looked in the error log and one error I've seen is "Invalid Global ID" errors.

Any ideas? I really want to get this working as Alfresco looks awesome. I would think that out of the box the features would work.

Thanks!
38 REPLIES 38

mvindell
Champ in-the-making
Champ in-the-making
I am having the same issues, I am able to send out invites to sites but under the admin dashboard when i try to "accept, reject or cancel" it all errors out with a "failed to action task". I have looked at this forum and at this http://issues.alfresco.com/jira/browse/ALF-260?page=com.atlassian.jira.plugin.system.issuetabpanels%...
but I am unable to get this fixed. Can someone explain to me how to fix this? I am pretty new to this. I am using Alfresco 3.3 CE.

UPDATE: I fixed the issue.

mvindell
Champ in-the-making
Champ in-the-making
In the revision of the my-tasks.js file they removed a line and input another in its place. I just manually deleted the line and replaced it with the new one.

var url = YAHOO.lang.substitute("api/workflow/task/end/{taskId}{transitionId}",
             {
-               taskId: taskId,             <—-this gets removed (thus the minus sign next to it)
+               taskId: encodeURIComponent(taskId),                  <—-replace with this (thus the plus sign next to it)
                transitionId: transitionId
             });



If you notice in an earlier post by the developer he denotes the old revision with many minus signs (—–) and the new revision with the plus signs (+++++). It took me a little bit to understand what they meant, after changing the code and restarting alfresco I was able to get the tasks working.

mikeh
Star Contributor
Star Contributor
If you notice in an earlier post by the developer he denotes the old revision with many minus signs (—–) and the new revision with the plus signs (+++++). It took me a little bit to understand what they meant, after changing the code and restarting alfresco I was able to get the tasks working.
For future reference, it's standard "svn diff" format.

Thanks,
Mike

pagenix
Champ in-the-making
Champ in-the-making
Where can I view the bug fix with comments in the relevant source code?

pagenix
Champ in-the-making
Champ in-the-making
… because I made the change noted above to the file "my-tasks.js" and have the same issue after restart…  :?

pagenix
Champ in-the-making
Champ in-the-making
Interestingly the fix works in IE but not in Firefox (3.6.3)

gdutoit
Champ on-the-rise
Champ on-the-rise
we are using 3.3g, upgraded from 3.2 a couple of days ago and this bug is definitely not fixed, and no log output either and it doesn't work on any browser (FF, IE, or GC on Linux or Win)

joe_m
Champ in-the-making
Champ in-the-making
I don't know why it doesn't work for you gdutoit, we updated to 3.3g from 3.3 and the "My Tasks" dashlet works perfectly.

nadaoneal
Champ in-the-making
Champ in-the-making
I am in the same boat as gdutoit, running a 3.3g version that was upgraded from 3.2, on RHEL in my case. It's especially bizarre that there's nothing in the logs. This is after having added:

log4j.logger.org.alfresco.web.scripts.servlet.EndPointProxyServlet=debug
log4j.logger.org.alfresco.web.scripts.RemoteStore=debug
log4j.logger.org.alfresco.connector=debug

to both
tomcat/webapps/share/WEB-INF/classes/log4j.properties and
tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties

and then restarting. Does anyone else recommend any other log4j entries that I should try adding to get a little more feedback?

mikeh
Star Contributor
Star Contributor
The update was to a client-side JavaScript file. One thing to try: make sure the browser's cache is cleared and try again.

Thanks,
Mike
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.