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) »
  • CiviCase Drupal Views Case Type
Pages: 1 [2]

Author Topic: CiviCase Drupal Views Case Type  (Read 2266 times)

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: CiviCase Drupal Views Case Type
November 21, 2014, 12:30:23 pm
Thanks Pete.

That too is interesting.  Here's what I get when I paste your link in.  When I hit enter after pasting, the address changes to civicrm/a/#/caseType and I see this table.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: CiviCase Drupal Views Case Type
November 21, 2014, 12:44:09 pm
yes i see the same thing you do on demo, which is on 4.5.x - ours is on 4.4.x

http://d45.demo.civicrm.org/civicrm/a/#/caseType

your profile says you are on 4.4.x too - which is it?

Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: CiviCase Drupal Views Case Type
November 21, 2014, 12:49:00 pm
My profile version actually refers to a different company.

This site is on 4.5.3.  I definitely should have been clearer about that.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase Drupal Views Case Type
November 21, 2014, 12:50:55 pm
If you change where it says Label in sites\all\modules\civicrm\drupal\modules\views\components\civicrm.case.inc to say title instead, does it work then?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: CiviCase Drupal Views Case Type
November 21, 2014, 12:52:30 pm
sounds like there needs to be some work done on Views for 4.5 - you could probably add a JIRA ticket - preferably with a patch if you can - esp if it is as trivial as it might be. We probably won't be pushing our clients up to 4.5 till the new year as there is just too much risk of things like this hitting us across 50+ sites which is why we put a fair bit of effort in to the LTS.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: CiviCase Drupal Views Case Type
November 21, 2014, 01:46:54 pm
Changed "Label" to "title" and it appears to be functioning.  Never thought I'd be so happy to see All Displays staring me in the face.

I'll dig around and see if there are any other issues with case views.

The civicrm.case.inc header does say
Quote
CiviCRM version 4.4
.

I haven't tried any other civi views on this install which is my only one with 4.5.3.  When I get a moment, I'll poke around with the other views and see if I run into any similar issues.

Thanks.

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: CiviCase Drupal Views Case Type
November 21, 2014, 02:02:21 pm
Scratch that, can't get to site at all now.

All pages give DB Error: no such field.

Update:
After some gagging, we're back up.

Update:
Still gagging with "No such field"

Truncating all cache tables fixed it.
« Last Edit: November 21, 2014, 02:57:05 pm by pmoz »

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: CiviCase Drupal Views Case Type
February 28, 2015, 04:09:30 am
Just updated to 4.5.6 and this issue is still present.

Had to change lines 96 and 105 in the Case Type section, change Label to title.

Then went to drupal cache tables and truncated all of them.

adamtk

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.3
Re: CiviCase Drupal Views Case Type
April 21, 2015, 06:15:19 am
Made the change with no luck. v4.6.2

I truncated the cache tables manually too, to be sure, after updating the file:
truncate cache_form; truncate cache_field; truncate cache_filter; truncate cache_image; truncate cache_menu; truncate cache_page; truncate cache_path;  truncate cache_rules; truncate cache_update; truncate cache_views;

I've noticed in the case dashlet, the case type isn't shown in open cases... nor on the job dashboard when showing job count by status.. yet the count is correct.

The case_type_id appears to be valid and linked in the database.. so it would appear until I perform further investigation the code needs updating in a few places.

adamtk

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.3
Re: CiviCase Drupal Views Case Type
April 21, 2015, 06:26:59 am
Seems some custom files were causing the issue, referring to the old table column name.. Will need to update them.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase Drupal Views Case Type

This forum was archived on 2017-11-26.