Hi,
I am configuring "ERPAL for Service Providers" for my own use. I want to migrate all my current system (bills, projects, customers info, timesheeting) to this system, which seems really fantastic.
Unfortunately I have already an issue with tasks. When I create a task related with a project, the task is well created (I can see it on admin/content page).

But I cannot see it on project page:

I tried several times to create tasks in any way. I cannot figure out how to link a task with a project. Normally tasks should appear in second image, as explained in this screencast:
http://www.erpal.info/blog/blog/erpal-for-service-providers-project-mana...
EDIT
As tashaharrison80 said:
The Administrator can see the list of tasks, but the user who the job is assigned to can't see it in the list but does have access to the actual node. I've given them roles of account manager and project manager.
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | tasks_are_not_displayed-2499053-20.patch | 6.4 KB | discipolo |
| #2 | screenshot-www erpal krown ch 2015-06-02 17-45-26.png | 87.3 KB | 118218 |
| #2 | screenshot-www erpal krown ch 2015-06-02 17-38-11.png | 152.34 KB | 118218 |
Comments
Comment #1
118218 commentedComment #2
118218 commentedComment #3
manuelBS commentedThat is really strange. Do you see the tasks in the tree view?
Comment #4
tashaharrison80 commentedI'm having this issue too. The Administrator can see the list of tasks, but the user who the job is assigned to can't see it in the list but does have access to the actual node. I've given them roles of account manager and project manager.
Comment #5
manuelBS commentedAre you both using the version 2.2? If so please try an update to the latest dev version and tell me your result.
Comment #6
tashaharrison80 commentedI has just tried the latest dev version but it still doesn't work. The view that seems not to be working is Tasks (Content) and the display is Tasks by project pane list.
Comment #7
118218 commentedI managed to solve the issue by re-installing the whole project from scratch.
The first time, I installed Erpal partially with drush. May be this approach was causing the issue.
I thought it was related with Memcache Storage (https://www.drupal.org/project/memcache_storage) module, but I installed it again in new Erpal installation and it works well now.
tashaharrison80, do you have another language installed? In the first installation (the one which is not working) I had a second language (french), I have not installed it yet in the second installation, so may be this could be related with the issue.
I am using the version 2.2 in both installations.
Comment #8
118218 commentedComment #9
118218 commentedComment #10
tashaharrison80 commentedI've only used one language. I did test it in a reinstall but it still didn't work.
Comment #11
francewhoaSame bug here. We're currently trying to reproduce it with a fresh ERPAL install on another server.
Anyone found the source of that bug? Maybe we did a user configuration error, maybe a bug. We don't know at that point.
Sites are also using a multilingual ERPAL. URLs format as follow:
https://example.com/en/node/[NODE-ID]/taskshttps://example.com/en/node/[NODE-ID]/ticketshttps://example.com/fr/node/[NODE-ID]/taskshttps://example.com/fr/node/[NODE-ID]/ticketsUsing
We noticed a new ERPAL dev was released yesterday 2015-Jun-09. Yayaya :) That might fix that bug.
Comment #12
francewhoaComment #13
tashaharrison80 commentedI've just tested the new dev release and still no tasks. Does anyone have any other ideas?
Comment #14
francewhoatashaharrison80, thanks for your update :)
You mentioned you only used one language. What path format for that one language?
example.com/node/[NODE-ID]/tasks
or
example.com/en/node/[NODE-ID]/tasks
or
en.example.com/node/[NODE-ID]/tasks
or
else?
Comment #15
francewhoaGood news. We found a fix for this bug. We'll post it here shortly.
Comment #16
francewhoaSteps we did that resolved this bug
/profiles/erpal/do_migrate.php/update.phpWe spent hours with various tests and narrowing down that bug. I'm setting this ticket Status to Fixed. Feel free to re-open it if needed.
Comment #17
francewhoaFor reference. Here are the messages displayed after we ran
/update.php====================
====================
Comment #19
discipolo commentedi am experiencing this same behaviour on a 2.2 install.
updating to 2.3 and running do_migrate did not fix it.
anyone else? help would be appreciated.
Edit: seems to have something to do with the relationship "Entity Reference: Parent" on view /view/tasks (removing it from the relevant panes makes tasks show up)
should that relationship maybe only exist for the entity reference pane?
Comment #20
discipolo commentedis the parent relationship in the basic 3 taskpanes view the problem or are my tasks parent fields not set correctly for some reason?
Comment #21
manuelBS commentedStrange thing...If you apply your patch in your installation it works?
Comment #22
iprosp commentedThe problem still exists and can be reproduced by doing the following:
1) Install the latest dev version as usual
2) Update core to 7.34
3) Go to the task list with any user (other than the administrator) an you will not be able to see your assigned tasks.
Comment #23
steve hanson commentedI agree with jackpros - there's DEFINITELY a problem with Drupal 7.43. I assume he MEANT 7.43. I was having the same problem because I upgraded to 7.43. I rolled back the Drupal install and projects now work again.
On the other hand, the project really should get upgraded to 7.43for security reasons.
Comment #24
kanroom commentedHello! I had the same problem - "No tasks available" - when I updated my drupal core from 7.39 to 7.52. In my case that was not a permission problem. Before I updated drupal core I installed module Hacked! and noticed all changes that was in core 7.39 and then with total commander I found this changes, the core's module node was changed (file node.module) and I moved this changes in core 7.52, and this help me to solve this problem.
Hope this help someone solve a problem.
Sorry for my English :)
Comment #25
chipway commentedHi kanroom,
Could your explain the changes you made to node.module file?
Comment #26
chipway commentedComment #27
kanroom commentedchipway
In function _node_query_node_access_alter() after a comment "// Otherwise attach it to the node query itself." in condition "else", I replaced code:
with this code:
Comment #28
chipway commentedThanks kanroom for your useful comment.
This issue is related to https://www.drupal.org/node/1349080#comment-10953027
Use #332 patch to solve the issue: https://www.drupal.org/files/issues/node_access_for_left_joins_d7.134908...
Note that this leads to a much lower performance, but without this, ERPAL Lists do not work.
Changing to Major and fixed.
Comment #30
chipway commentedPatch https://www.drupal.org/files/issues/node_access_for_left_joins_d7.134908... is still working on D7.61.