Hi,

I'm new user of Erpal, so maybe i'm not using it correctly.

With the first account created (admin) when I create or edit a new contact, when I create a relation, I have the picture round that means that when I write the name of a company or a user in the relation field, it will search it and display a list of user or company. Great.

However, if I'm a user with project manager role, there is not the opportunity, it's a normal field without the possibility to search existing company or contact. (cf. screenshot)

I have tested it on 3 browser (ffox, Midori and Epiphany) and i have the same result : every time ok for admin, every time ko for project manager.

The test has been made with the stable 7.X-2.2 and with relation module rc5 and rc7. Same comportment.

I have checked the rights for the relation module, it seems ok in admin/people/permissions

It seems that this linked with the https://www.drupal.org/project/relation_add relation add module. We can see in admin/people/permissions that no one have Endpoint autocomplete access right.

Is it normal ? Maybe the user that can create relation (internal developer, financial user, account manager and project manager) would have the Endpoint autocomplete access right checked ? (if this can allow a user to have the automatic search, I'm not sure).

Thanks for your attention

CommentFileSizeAuthor
erpal-automatic-search-relation.png23.68 KBpepeelfrances
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pepeelfrances’s picture

Component: User interface » Code
Francewhoa’s picture

pepeelfrances, have you tried upgrading to the latest dev version? Instructions at https://www.drupal.org/node/2473655

We were not able to reproduce this with the latest dev. It seems that bug has been fix in the latest dev version.

Related extract from the project page

Please use the latest dev version currently or update the relation module to the latest version RC6. the relation module in its version RC5 has compatibility problems with the latest Drupal core 7.34. #2374559: Error creating contact https://www.drupal.org/node/2374559

pepeelfrances’s picture

Thanks for your reply. Sorry, i have give up for the moment erpal so i didn't test the latest dev version.

I think i had solved the problem with changing the Endpoint autocomplete access right to checked to internal developer, financial user, account manager and project manager roles.

Do you know if in the dev version this right is checked by default for these roles ? If yes the bug can certainly considered as solved, no ?
best regards

chrbak’s picture

Hello, I had the same problem and by adding the aforementioned permissions (Endpoint autocomplete access) to the corresponding user roles I solved the problem.