CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to delete an action with an error in the client's name
Pages: [1]

Author Topic: How to delete an action with an error in the client's name  (Read 2753 times)

cab

  • Guest
How to delete an action with an error in the client's name
January 16, 2008, 08:30:57 am
Hi, i'm work for a volunteer centre and we work with Cabsys 2.0 to enter all our statistics.
When we do an error in the name of a client (beneficiaire) and we save the action with these client, we cannot return to modify or to delete it. But, when we show a report for these action, we see the action with an error in the name, but if we click on the link shown, it says the an error occur and the only choici we had is to return to the main menu.

For example, i tape tevy for the name of the client and i don't select the client's name correctly. So, in my report, we see an action at the name of tevy and it is add to my total of actions. But, I want to change it to put the correct name.

PLease, help me!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to delete an action with an error in the client's name
January 16, 2008, 11:17:28 am
I'm not following what you're doing and where the problem is occuring from your description below.

Can you recreate your steps on our demo site - and then post the steps you're taking (with a copy of each URL) - and include the point where you get the error message and the text of the error.

http://demo.civicrm.org/drupal/
Protect your investment in CiviCRM by  becoming a Member!

cab

  • Guest
Re: How to delete an action with an error in the client's name
January 17, 2008, 06:05:46 am
i'm sorry, but i don't understand what I have to do on the site : http://demo.civicrm.org/drupal/

I will try to explain you more simply what is my problem:

1. i'm going on the URL : https://gestion.rcabm.org/
2. I choose my CAB (the city)
3. I go to the section report (because all my statistics are already posted and I do some errors)
4. My report show this information (it depends on what i want it shows) :
ID Service Date Reçu/Qté Bénévoles Bénéficiaires Autres bénéfs. Montant reçu Heures KM

cab

  • Guest
Re: How to delete an action with an error in the client's name
January 17, 2008, 06:21:30 am
Sorry! I send me last post by error. I haven't finish!

So, i restart :

1. i'm going on the URL : https://gestion.rcabm.org/
2. I choose my CAB (the city)
3. I go to the section report (because all my statistics are already posted and I do some errors)
4. My report show this information (it depends on what i want it shows) :
ID    Service    Date    Reçu/Qté     Bénévoles     Bénéficiaires    Autres bénéfs.   Montant ...

in the ID Column, it's a link that shows the details of the activity. And we have the choice to delete or modify the activity. It's work when the name of the beneficaire (client) is correctly enter. To enter the name of the client, we have a cursor that show all the name entered in the data base. Initially, we enter the first letter of the family name to facilitate the search. The error that I do is : after i have written the first letter, i didn't have click on a name in the data base. So, the activity is enter at a incomplete name : like prest and not preston, bob who is in our data base.

Here is the link when i click on the ID of an activity with an error in the client's name :
https://gestion.rcabm.org/cowansville/index.php?q=civicrm/contact/view/activity&activity_id=1&action=view&id=31689&status=true&history=1&selectedChild=activity&context=activity&cid=0

if you're not able to see it, here is the error message :
backTrace


/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 230
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 527
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, getFieldValue, 1075
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Activity/Form.php, displayName, 134
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/Form.php, setDefaultValues, 297
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 98
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 213
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Contact/Page/View/Meeting.php, run, 88
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Contact/Page/View/Meeting.php, edit, 108
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 364
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/CRM/Core/Invoke.php, contact, 82
/var/alternc/html/a/admin/crm/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 288
, civicrm_invoke,
/var/alternc/html/a/admin/crm/includes/menu.inc, call_user_func_array, 418
/var/alternc/html/a/admin/crm/index.php, menu_execute_active_handler, 15


 Sorry. A non-recoverable error has occurred.
Please file an issue with the backtrace

Retourner au menu CiviCRM.

I hope that it is more clear for you!

Thank you!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to delete an action with an error in the client's name
January 17, 2008, 09:49:28 am
The link that is giving you the fatal error has a problem in it. The "cid=0" part of the link is incorrect because the cid should always have the ID (primary key) of the contact whose activity you are trying to view or edit.

I can only access the main page of your site - otherwise I get "access denied". However, it looks to me like someone has customized CiviCRM for your usage - and I think you'll need to consult with them about this issue - and get them to correct how this link is being generated.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to delete an action with an error in the client's name

This forum was archived on 2017-11-26.