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 »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Non-recoverable error creating cases
Pages: [1]

Author Topic: Non-recoverable error creating cases  (Read 1852 times)

Manonline

  • Guest
Non-recoverable error creating cases
January 21, 2010, 11:10:04 am
Hi all! I have this error when I try to create a case:

Sorry. A non-recoverable error has occurred.

We experienced an unexpected error. Please file an issue with the backtrace

Return to home page.


The backtrace gives me this:

backTrace

/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/Error.php, backtrace, 256
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/XMLProcessor/Process.php, fatal, 179
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/XMLProcessor/Process.php, createRelationships, 91
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/XMLProcessor/Process.php, process, 53
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/Form/Activity/OpenCase.php, run, 270
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/Form/Case.php(313) : eval()'d code, endPostProcess, 1
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/Form/Case.php, eval, 313
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/Form.php, postProcess, 248
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, mainProcess, 152
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 129
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/Controller.php, handle, 249
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/Page/Tab.php, run, 157
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Case/Page/Tab.php, edit, 185
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/CRM/Core/Invoke.php, run, 209
/var/www/drupal/sites/civicrm.terromeonline.com.ar/modules/civicrm/drupal/civicrm.module, invoke, 333
, civicrm_invoke,
/var/www/drupal/includes/menu.inc, call_user_func_array, 348
/var/www/drupal/index.php, menu_execute_active_handler, 18


And the XML of the Case Type:

<?xml version="1.0" encoding="iso-8859-1" ?>

<CaseType>
  <name>Bug</name>
  <ActivityTypes>
    <ActivityType>
      <name>Open Case</name>
      <max_instances>1</max_instances>
    </ActivityType>
    <ActivityType>
      <name>Apply Correction</name>
    </ActivityType>
    <ActivityType>
      <name>Reproduce</name>
    </ActivityType>
    <ActivityType>
      <name>Test Correction</name>
    </ActivityType>
    <ActivityType>
      <name>Deliver Correction</name>
    </ActivityType>
    <ActivityType>
      <name>Follow up</name>
    </ActivityType>
   <ActivityType>
      <name>Change Case Type</name>
    </ActivityType>
    <ActivityType>
      <name>Change Case Status</name>
    </ActivityType>
    <ActivityType>
      <name>Change Case Start Date</name>
    </ActivityType>
  </ActivityTypes>
  <ActivitySets>
    <ActivitySet>
      <name>standard_timeline</name>
      <label>Standard Timeline</label>
      <timeline>true</timeline>
      <ActivityTypes>
        <ActivityType>
          <name>Open Case</name>
          <status>Completed</status>
        </ActivityType>
        <ActivityType>
          <name>Reproduce</name>
          <reference_activity>Open Case</reference_activity>
          <reference_offset>1</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
        <ActivityType>
          <name>Apply Correction</name>
          <reference_activity>Reproduce</reference_activity>
          <reference_offset>1</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
        <ActivityType>
          <name>Test Correction</name>
          <reference_activity>Apply Correction</reference_activity>
          <reference_offset>1</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
        <ActivityType>
          <name>Follow up</name>
          <reference_activity>Open Case</reference_activity>
          <reference_offset>3</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
        <ActivityType>
          <name>Deliver Correction</name>
          <reference_activity>Test Correction</reference_activity>
          <reference_offset>1</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
        <ActivityType>
          <name>Follow up</name>
          <reference_activity>Open Case</reference_activity>
          <reference_offset>15</reference_offset>
          <reference_select>newest</reference_select>
        </ActivityType>
      </ActivityTypes>
    </ActivitySet>
  </ActivitySets>
  <CaseRoles>
    <RelationshipType>
        <name>Case Coordinator is</name>
        <creator>1</creator>
        <manager>1</manager>
    </RelationshipType>
  </CaseRoles>
</CaseType>


I created the Activity Types copying-pasting from the XML and in all activity types are in "CiviCase" component.

I'm confused :) Any one knows what I need too do?

EDIT: However, the cases count change in "Cases" tab in contacts page, but when I enter, there are no cases.
« Last Edit: January 21, 2010, 11:12:44 am by Manonline »

Shailesh Lende

  • Guest
Re: Non-recoverable error creating cases
January 22, 2010, 01:28:24 am
Can you please make sure that in your civicrm_relationship_type, a relation called "Case Coordinator is" is exist.If not please create it or simply import CRM/Case/xml/configuration.sample/SampleConfig.mysql in your current civicrm database.

-Shailesh

Manonline

  • Guest
Re: Non-recoverable error creating cases
January 22, 2010, 05:49:38 am
The relation was created when I enabled the CiviCase component. I copied the name of the relationship from the db (from the "name_a_b" column). I'll try removing it from the XML and creating a case.

Manonline

  • Guest
Re: Non-recoverable error creating cases
January 27, 2010, 05:58:09 am
If I remove the relationship from the XML and I now I can create the case without problems. But the relationship is created in CiviCRM :S

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Non-recoverable error creating cases

This forum was archived on 2017-11-26.